Skip to content

Commit

Permalink
fix Store::hasModule(path) return value
Browse files Browse the repository at this point in the history
  • Loading branch information
FranckFreiburger committed Jun 15, 2017
1 parent 2533e14 commit 57744da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class Store {
assert(Array.isArray(path), `module path must be a string or an Array.`)
}

this._modules.isRegistered(path)
return this._modules.isRegistered(path)
}

hotUpdate (newOptions) {
Expand Down

0 comments on commit 57744da

Please sign in to comment.