mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
Merge pull request #2056 from resin-io/fix-debug-enable
fix(app): Fix enabling debug output
This commit is contained in:
commit
f70df03b1a
@ -52,8 +52,8 @@ const exceptionReporter = require('./modules/exception-reporter')
|
||||
//
|
||||
// Enable drivelist debugging information
|
||||
// See https://github.com/resin-io-modules/drivelist
|
||||
electron.remote.process.env.DRIVELIST_DEBUG = /drivelist|^\*$/i.test(electron.remote.process.env.DEBUG) ? '1' : ''
|
||||
window.localStorage.debug = electron.remote.process.env.DEBUG
|
||||
process.env.DRIVELIST_DEBUG = /drivelist|^\*$/i.test(process.env.DEBUG) ? '1' : ''
|
||||
window.localStorage.debug = process.env.DEBUG
|
||||
|
||||
const app = angular.module('Etcher', [
|
||||
require('angular-ui-router'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user