Skip to content

Commit

Permalink
Merge pull request #269 from sasjs/allanbowe/error-unrecognized-sas-267
Browse files Browse the repository at this point in the history
fix: invalid JS logic
  • Loading branch information
allanbowe authored Sep 1, 2022
2 parents 4bbf9cf + 9f06080 commit a3a9e3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/src/controllers/internal/Session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit a3a9e3b

Please sign in to comment.