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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user