Fix debug mode being active although explicitly disabled (#5837)

* fix debug mode being active although explicitly disabled

* also set debug mode correctly in sharedState
This commit is contained in:
Dany Castillo 2021-10-25 11:25:25 +02:00 • committed by GitHub
parent 68f18bfa64
commit de1bdb4f5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ import packageJson from '../package.json'
import normalizePath from 'normalize-path'
let env = {
DEBUG: process.env.DEBUG !== undefined,
DEBUG: process.env.DEBUG !== undefined && process.env.DEBUG !== '0',
}
// ---