Skip to content

Commit 2a6d896

Browse files
committed
chore: sourceDir should be default to cwd
1 parent df99cb6 commit 2a6d896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/cli/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ exports.bootstrap = function ({
7777
.option('--no-cache', 'clean the cache before build')
7878
.option('--debug', 'build in development mode for debugging')
7979
.option('--silent', 'build static site in silent mode')
80-
.action((sourceDir, {
80+
.action((sourceDir = '.', {
8181
debug,
8282
dest,
8383
temp,

0 commit comments

Comments
 (0)