Chore: Remove nodeEnv check in log()
Given that the debug variable will always be set to true in the getSettings() function, this check doesn't need to happen.
This commit is contained in:
parent
91780f9044
commit
f968e497d6
|
@ -71,7 +71,7 @@ export function log(message: any, override = false): void {
|
|||
overrideStyle = 'background-color: #dc322f; margin-right: 9px;';
|
||||
}
|
||||
|
||||
if (debug || override || getManifest().nodeEnv === 'development') {
|
||||
if (debug || override) {
|
||||
console.debug(prefix, overrideStyle, message);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue