diff --git a/compiler/main.js b/compiler/main.js index aa0f9590bf0322afb45a80e176e55a88ee8c4301..82ca0cbae99252b65913772f898d648e7254204b 100644 --- a/compiler/main.js +++ b/compiler/main.js @@ -225,7 +225,7 @@ function setStartupPagesForObf(projectConfig) { const startupFileName = `${moduleJson.module.appStartup.replace(/\$profile\:/, '')}.json`; const startupFilePath = path.resolve(projectConfig.aceProfilePath, startupFileName); const startupConfig = readJsonFile(startupFilePath); - if (startupConfig) { + if (!startupConfig) { return; } setEntryArrayForObf(startupConfig.configEntry);