1
Fork 0

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:
Bauke 2019-11-10 19:54:46 +01:00
parent 91780f9044
commit f968e497d6
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export function log(message: any, override = false): void {
overrideStyle = 'background-color: #dc322f; margin-right: 9px;'; overrideStyle = 'background-color: #dc322f; margin-right: 9px;';
} }
if (debug || override || getManifest().nodeEnv === 'development') { if (debug || override) {
console.debug(prefix, overrideStyle, message); console.debug(prefix, overrideStyle, message);
} }
} }