1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

style: lint

This commit is contained in:
Mihajlo Medjedovic
2021-10-18 12:07:42 +00:00
parent 125cf35722
commit 6efb2d0b51
3 changed files with 5 additions and 3 deletions

View File

@@ -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}";

View File

@@ -103,7 +103,7 @@ router.post(
if (req.files && req.files.length > 0) {
filesNamesMap = makeFilesNamesMap(req.files)
}
await new ExecutionController()
.execute(
sasCodePath,

View File

@@ -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