mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-19 18:40:33 +03:00
fix: dont assign to global console
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ import { hasGlobalWindow } from '../utils/window'
|
||||
|
||||
const _global = hasGlobalWindow ? window : global
|
||||
|
||||
const console = (_global.console = _global.console || {})
|
||||
const console = _global.console || {}
|
||||
|
||||
export function warn (str) {
|
||||
/* istanbul ignore next */
|
||||
|
||||
Reference in New Issue
Block a user