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

Merge pull request #269 from sasjs/allanbowe/error-unrecognized-sas-267

fix: invalid JS logic
This commit is contained in:
Allan Bowe
2022-09-01 13:41:52 +01:00
committed by GitHub

View File

@@ -106,7 +106,9 @@ ${autoExecContent}`
process.sasLoc!.endsWith('sas.exe') ? '-nodms' : '',
process.sasLoc!.endsWith('sas.exe') ? '-noterminal' : '',
process.sasLoc!.endsWith('sas.exe') ? '-nostatuswin' : '',
process.sasLoc!.endsWith('sas.exe') ? '-SASINITIALFOLDER' : session.path,
process.sasLoc!.endsWith('sas.exe')
? '-SASINITIALFOLDER ' + session.path
: '',
isWindows() ? '-nologo' : ''
])
.then(() => {