summaryrefslogtreecommitdiffstats
path: root/src/preload-safe-debug.ts
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2023-08-15 23:38:04 +0000
committerLibravatar GitHub <noreply@github.com>2023-08-16 05:08:04 +0530
commitcbd0da469c4f509e8f4ff3ee530fabffa22983a8 (patch)
treed258d83209b2aa16ca05cb6b46a807a929c7636b /src/preload-safe-debug.ts
parentUpgrade 'electron' to '26.0.0' (diff)
downloadferdium-app-cbd0da469c4f509e8f4ff3ee530fabffa22983a8.tar.gz
ferdium-app-cbd0da469c4f509e8f4ff3ee530fabffa22983a8.tar.zst
ferdium-app-cbd0da469c4f509e8f4ff3ee530fabffa22983a8.zip
Upgrade npm modules (#1312)
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' &&