Skip to content

Commit

Permalink
chore: sourceDir should be default to cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Nov 25, 2018
1 parent df99cb6 commit 2a6d896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ exports.bootstrap = function ({
.option('--no-cache', 'clean the cache before build')
.option('--debug', 'build in development mode for debugging')
.option('--silent', 'build static site in silent mode')
.action((sourceDir, {
.action((sourceDir = '.', {
debug,
dest,
temp,
Expand Down

0 comments on commit 2a6d896

Please sign in to comment.