From 13bfb80f8345f37b9488db4abba6d0bf51414f39 Mon Sep 17 00:00:00 2001 From: Olaf Buitelaar Date: Sun, 6 Aug 2023 22:21:32 +0200 Subject: [PATCH] use var name --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index faa0ab1..659a511 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,7 +17,7 @@ export class Logger extends BaseLogger { // style only for blink browsers settings.stylePrettyLogs = settings.stylePrettyLogs && isBrowser && !isBrowserBlinkEngine ? false : settings.stylePrettyLogs; - super(isBrowser && typeof('process') === 'undefined' ? BrowserRuntime : NodeRuntime, settings, logObj, isSafari ? 4 : 5); + super(isBrowser && typeof(process) === 'undefined' ? BrowserRuntime : NodeRuntime, settings, logObj, isSafari ? 4 : 5); } /**