File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/runtime-core/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,13 @@ export function setDevtoolsHook(hook: DevtoolsHook, target: any) {
53
53
// handle late devtools injection - only do this if we are in an actual
54
54
// browser environment to avoid the timer handle stalling test runner exit
55
55
// (#4815)
56
- // eslint-disable-next-line no-restricted-globals
56
+ /* eslint-disable no-restricted-globals */
57
57
typeof window !== 'undefined' &&
58
58
// some envs mock window but not fully
59
59
window . HTMLElement &&
60
60
// also exclude jsdom
61
61
! window . navigator ?. userAgent ?. includes ( 'jsdom' )
62
+ /* eslint-enable no-restricted-globals */
62
63
) {
63
64
const replay = ( target . __VUE_DEVTOOLS_HOOK_REPLAY__ =
64
65
target . __VUE_DEVTOOLS_HOOK_REPLAY__ || [ ] )
You can’t perform that action at this time.
0 commit comments