Skip to content

Commit

Permalink
fix(cli): fix invoke glob node_modules ignore pattern (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
yibuyisheng authored and yyx990803 committed Apr 25, 2018
1 parent 49f9f35 commit 708cde9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli/lib/invoke.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function readFiles (context) {
cwd: context,
onlyFiles: true,
gitignore: true,
ignore: ['**node_modules**']
ignore: ['**/node_modules/**']
})
const res = {}
for (const file of files) {
Expand Down

0 comments on commit 708cde9

Please sign in to comment.