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:
parent
68f18bfa64
commit
de1bdb4f5d
2 changed files with 2 additions and 2 deletions
|
|
@ -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',
|
||||
}
|
||||
|
||||
// ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue