Skip to content

Commit

Permalink
fix(module): don't log fatal error when vuex is disabled (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
pimlie authored and pi0 committed Jan 13, 2020
1 parent 42f9cfb commit 59831fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/module/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function validateOptions (options) {
}

// Enforce vuex store because auth depends on it
if (!this.options.store) {
if (options.vuex && !this.options.store) {
logger.fatal('Enable vuex store by creating `store/index.js`.')
}
}
Expand Down

0 comments on commit 59831fb

Please sign in to comment.