1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-10 07:50:05 +00:00

chore: verify executable paths

This commit is contained in:
2022-06-17 18:12:03 +05:00
parent 158acf1f97
commit ab222cbaab
7 changed files with 59 additions and 6 deletions

View File

@@ -13,10 +13,12 @@ export const setProcessVariables = async () => {
if (MODE === ModeType.Server) {
process.sasLoc = process.env.SAS_PATH as string
process.nodeLoc = process.env.NODE_PATH as string
} else {
const { sasLoc } = await getDesktopFields()
const { sasLoc, nodeLoc } = await getDesktopFields()
process.sasLoc = sasLoc
process.nodeLoc = nodeLoc
}
const { SASJS_ROOT } = process.env