We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a746d52 + 20c37fd commit 2caf4efCopy full SHA for 2caf4ef
1 file changed
browser.js
@@ -140,15 +140,13 @@ function save(namespaces) {
140
function load() {
141
var r;
142
try {
143
- r = exports.storage.debug;
+ return exports.storage.debug;
144
} catch(e) {}
145
146
// If debug isn't set in LS, and we're in Electron, try to load $DEBUG
147
if (typeof process !== 'undefined' && 'env' in process) {
148
- r = process.env.DEBUG;
+ return process.env.DEBUG;
149
}
150
-
151
- return r;
152
153
154
/**
0 commit comments