1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-08 23:10:05 +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') let webout = path.join(session.path, 'webout.txt')
await createFile(webout, '') await createFile(webout, '')
program = ` program = `
%let sasjsprocessmode=Stored Program; %let sasjsprocessmode=Stored Program;
filename _webout "${webout}"; filename _webout "${webout}";

View File

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

View File

@@ -40,7 +40,9 @@ export const generateFileUploadSasCode = async (
count: number count: number
}[] = [] }[] = []
const sasSessionFolderList: string[] = await listFilesInFolder(sasSessionFolder) const sasSessionFolderList: string[] = await listFilesInFolder(
sasSessionFolder
)
sasSessionFolderList.forEach((fileName) => { sasSessionFolderList.forEach((fileName) => {
let fileCountString = fileCount < 100 ? '0' + fileCount : fileCount let fileCountString = fileCount < 100 ? '0' + fileCount : fileCount
fileCountString = fileCount < 10 ? '00' + fileCount : fileCount fileCountString = fileCount < 10 ? '00' + fileCount : fileCount