Skip to content

Commit

Permalink
fix: unexpected warning of last-updated plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Oct 23, 2018
1 parent 2a8712a commit daa4d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/core/lib/prepare/AppContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ module.exports = class AppContext {
.use(require('../internal-plugins/pageComponents'))
.use(require('../internal-plugins/transformModule'))
.use(require('../internal-plugins/dataBlock'))
.use('@vuepress/last-updated', shouldUseLastUpdated)
.use('@vuepress/last-updated', !!shouldUseLastUpdated)
.use('@vuepress/register-components', {
componentsDir: [
path.resolve(this.sourceDir, '.vuepress/components'),
Expand Down

0 comments on commit daa4d09

Please sign in to comment.