Skip to content

Commit df59909

Browse files
cuijing1031meteorlxy
authored andcommittedJan 16, 2020
fix($cli): inferUserDocsDirectory ignore all node_modules (#2137)
1 parent 810300e commit df59909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/vuepress/lib/handleUnknownCommand.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ module.exports = async function (cli, options) {
5555
async function inferUserDocsDirectory (cwd) {
5656
const paths = await globby([
5757
'**/.vuepress/config.js',
58-
'!node_modules'
58+
'!**/node_modules/**'
5959
], {
6060
cwd,
6161
dot: true

0 commit comments

Comments
 (0)
Please sign in to comment.