Fix minor typo.

This commit is contained in:
Daniel Scalzi
2020-07-06 01:29:13 -04:00
parent 8e611175ca
commit 7620971c99

View File

@@ -206,13 +206,13 @@ const generateDistroCommand: yargs.CommandModule = {
logger.debug(`Root set to ${argv.root}`) logger.debug(`Root set to ${argv.root}`)
logger.debug(`Base Url set to ${argv.baseUrl}`) logger.debug(`Base Url set to ${argv.baseUrl}`)
logger.debug(`Install option set to ${argv.install}`) logger.debug(`Install option set to ${argv.installLocal}`)
logger.debug(`Invoked generate distro name ${finalName}.`) logger.debug(`Invoked generate distro name ${finalName}.`)
const doLocalInstall = argv.installLocal as boolean const doLocalInstall = argv.installLocal as boolean
const heliosDataFolder = getHeliosDataFolder() const heliosDataFolder = getHeliosDataFolder()
if(doLocalInstall && heliosDataFolder == null) { if(doLocalInstall && heliosDataFolder == null) {
logger.error('You MUST specify HELIOS_DATA_FOLDER in your .env when using the --install option.') logger.error('You MUST specify HELIOS_DATA_FOLDER in your .env when using the --installLocal option.')
return return
} }