From 2a6d8960636e9d5e540c545da27163b440659896 Mon Sep 17 00:00:00 2001 From: ULIVZ <472590061@qq.com> Date: Sun, 25 Nov 2018 23:52:30 +0800 Subject: [PATCH] chore: sourceDir should be default to cwd --- packages/@vuepress/cli/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@vuepress/cli/index.js b/packages/@vuepress/cli/index.js index 3c64bb0479..930080e733 100644 --- a/packages/@vuepress/cli/index.js +++ b/packages/@vuepress/cli/index.js @@ -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,