mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
fix(app): Fix enabling debug output
This fixes enabling debug output via the DEBUG env var Change-Type: patch
This commit is contained in:
parent
4fa0f990e5
commit
2b66762dec
@ -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