Skip to content

Commit f2b5ecd

Browse files
authored
fix reference error in browser (justjake#66)
closes justjake#65
1 parent 437860e commit f2b5ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts/debug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export const QTS_DEBUG = false || Boolean(process.env.QTS_DEBUG)
1+
export const QTS_DEBUG = false || Boolean(typeof process === "object" && process.env.QTS_DEBUG)
22
export let debugLog = QTS_DEBUG ? console.log.bind(console) : () => {}

0 commit comments

Comments
 (0)