From 6efb2d0b518c0b925c27b8c84771296cfd757d17 Mon Sep 17 00:00:00 2001 From: Mihajlo Medjedovic Date: Mon, 18 Oct 2021 12:07:42 +0000 Subject: [PATCH] style: lint --- src/controllers/Execution.ts | 2 +- src/routes/index.ts | 2 +- src/utils/upload.ts | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/controllers/Execution.ts b/src/controllers/Execution.ts index e24b576..0410594 100644 --- a/src/controllers/Execution.ts +++ b/src/controllers/Execution.ts @@ -41,7 +41,7 @@ export class ExecutionController { let webout = path.join(session.path, 'webout.txt') await createFile(webout, '') - + program = ` %let sasjsprocessmode=Stored Program; filename _webout "${webout}"; diff --git a/src/routes/index.ts b/src/routes/index.ts index 930ec44..263c3ff 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -103,7 +103,7 @@ router.post( if (req.files && req.files.length > 0) { filesNamesMap = makeFilesNamesMap(req.files) } - + await new ExecutionController() .execute( sasCodePath, diff --git a/src/utils/upload.ts b/src/utils/upload.ts index c216cd4..f671367 100644 --- a/src/utils/upload.ts +++ b/src/utils/upload.ts @@ -40,7 +40,9 @@ export const generateFileUploadSasCode = async ( count: number }[] = [] - const sasSessionFolderList: string[] = await listFilesInFolder(sasSessionFolder) + const sasSessionFolderList: string[] = await listFilesInFolder( + sasSessionFolder + ) sasSessionFolderList.forEach((fileName) => { let fileCountString = fileCount < 100 ? '0' + fileCount : fileCount fileCountString = fileCount < 10 ? '00' + fileCount : fileCount