diff --git a/app/services/utils.ts b/app/services/utils.ts index f255af2bdb77..898ca94b29f6 100644 --- a/app/services/utils.ts +++ b/app/services/utils.ts @@ -103,7 +103,9 @@ export default class Utils { } static getHighlighterEnvironment(): 'production' | 'staging' | 'local' { - if (process.argv.includes('--bundle-qa')) { + // need to use this remote thing because main process is being spawned as + // subprocess of updater process in the release build + if (remote.process.argv.includes('--bundle-qa')) { return 'staging'; }