aboutsummaryrefslogtreecommitdiffstats
path: root/src/preload-safe-debug.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/preload-safe-debug.ts')
-rw-r--r--src/preload-safe-debug.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preload-safe-debug.ts b/src/preload-safe-debug.ts
index 471ae1a1f..905140306 100644
--- a/src/preload-safe-debug.ts
+++ b/src/preload-safe-debug.ts
@@ -8,7 +8,7 @@
8 * We disable the `debug` package in context isolated renderers, 8 * We disable the `debug` package in context isolated renderers,
9 * because they correspond to preload scripts. 9 * because they correspond to preload scripts.
10 */ 10 */
11// eslint-disable-next-line unicorn/no-empty-file 11
12module.exports = function debug(namespace: string): (...params: any[]) => void { 12module.exports = function debug(namespace: string): (...params: any[]) => void {
13 if ( 13 if (
14 typeof process === 'object' && 14 typeof process === 'object' &&