mirror of
https://github.com/sasjs/server.git
synced 2025-12-12 03:54:34 +00:00
fix: path descriptions and defaults
This commit is contained in:
@@ -55,7 +55,7 @@ const getSASLocation = async (): Promise<string> => {
|
|||||||
: '/opt/sas/sas9/SASHome/SASFoundation/9.4/sasexe/sas'
|
: '/opt/sas/sas9/SASHome/SASFoundation/9.4/sasexe/sas'
|
||||||
|
|
||||||
const targetName = await getString(
|
const targetName = await getString(
|
||||||
'Please enter path to SAS executable (absolute path): ',
|
'Please enter full path to a SAS executable with UTF-8 encoding: ',
|
||||||
validator,
|
validator,
|
||||||
defaultLocation
|
defaultLocation
|
||||||
)
|
)
|
||||||
@@ -75,11 +75,11 @@ const getNodeLocation = async (): Promise<string> => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const defaultLocation = isWindows()
|
const defaultLocation = isWindows()
|
||||||
? 'C:\\Program Files\\nodejs\\'
|
? 'C:\\Program Files\\nodejs\\node.exe'
|
||||||
: '/usr/local/nodejs/bin'
|
: '/usr/local/nodejs/bin/node.sh'
|
||||||
|
|
||||||
const targetName = await getString(
|
const targetName = await getString(
|
||||||
'Please enter path to nodejs executable (absolute path): ',
|
'Please enter full path to a NodeJS executable: ',
|
||||||
validator,
|
validator,
|
||||||
defaultLocation
|
defaultLocation
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user