Skip to content

Commit 2c0c4c3

Browse files
committed
fix: dont assign to global console
1 parent 6907f9a commit 2c0c4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/log.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { hasGlobalWindow } from '../utils/window'
22

33
const _global = hasGlobalWindow ? window : global
44

5-
const console = (_global.console = _global.console || {})
5+
const console = _global.console || {}
66

77
export function warn (str) {
88
/* istanbul ignore next */

0 commit comments

Comments
 (0)