Skip to content

Commit

Permalink
fixed qa bundle flag check (#5279)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggolda authored Jan 8, 2025
1 parent 0211d5b commit 22bf6a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/services/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down

0 comments on commit 22bf6a1

Please sign in to comment.