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

chore: replace env variable RSCRIPT_PATH with R_PATH

This commit is contained in:
2022-09-09 15:23:46 +05:00
parent 16b7aa6abb
commit 662b2ca36a
7 changed files with 19 additions and 19 deletions

View File

@@ -29,14 +29,14 @@ export const setProcessVariables = async () => {
process.sasLoc = process.env.SAS_PATH
process.nodeLoc = process.env.NODE_PATH
process.pythonLoc = process.env.PYTHON_PATH
process.rscriptLoc = process.env.RSCRIPT_PATH
process.rLoc = process.env.R_PATH
} else {
const { sasLoc, nodeLoc, pythonLoc, rscriptLoc } = await getDesktopFields()
const { sasLoc, nodeLoc, pythonLoc, rLoc } = await getDesktopFields()
process.sasLoc = sasLoc
process.nodeLoc = nodeLoc
process.pythonLoc = pythonLoc
process.rscriptLoc = rscriptLoc
process.rLoc = rLoc
}
const { SASJS_ROOT } = process.env