mirror of
https://github.com/sasjs/server.git
synced 2026-01-08 23:10:05 +00:00
style: lint
This commit is contained in:
@@ -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}";
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user