Skip to content

Commit

Permalink
fix: incorrect warning for getRegisteredVueOrDefault, resolve #544
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 30, 2020
1 parent 5484bb7 commit 3a1d992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtimeContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function getRegisteredVueOrDefault(): VueConstructor {
let constructor = vueConstructor || vueDependency

if (__DEV__) {
assert(vueConstructor, `No vue dependency found.`)
assert(constructor, `No vue dependency found.`)
}

return constructor!
Expand Down

0 comments on commit 3a1d992

Please sign in to comment.