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

Merge pull request #207 from sasjs/allanbowe/sasjs-server-fails-to-205

fix: path descriptions and defaults
This commit is contained in:
Allan Bowe
2022-06-20 17:26:56 +02:00
committed by GitHub

View File

@@ -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
) )