Skip to content

Conversation

yibuyisheng
Copy link
Contributor

No description provided.

@Akryum
Copy link
Member

Akryum commented Mar 19, 2018

Hi, thanks for your PR. Why did you need to make this change?

@yibuyisheng
Copy link
Contributor Author

@Akryum

const minimatch = require('minimatch');

console.log(minimatch('use/node_modules/aaa/bbb/a.js', '**node_modules**'));     // false
console.log(minimatch('use/node_modules/aaa/bbb/a.js', '**/node_modules/**'));   // true

**node_module** does not match use/node_modules/aaa/bbb/a.js.

@yyx990803 yyx990803 merged commit 708cde9 into vuejs:dev Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants