From f968e497d644d71f8056f243b66ee92842ba084e Mon Sep 17 00:00:00 2001 From: Bauke Date: Sun, 10 Nov 2019 19:54:46 +0100 Subject: [PATCH] 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. --- source/ts/utilities.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ts/utilities.ts b/source/ts/utilities.ts index 1c59531..7a58670 100644 --- a/source/ts/utilities.ts +++ b/source/ts/utilities.ts @@ -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); } }