修正了关于node-glob match pattern的一个描述错误 #288
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
在node-glob (实测版本v5.0.14) pattern里 widget/*/.js 是会连同widget目录下的以.js结尾的文件也match的,原文档中的描述有误
具体一个测试例子可以参考http://www.globtester.com/#p=eJzTL89MSU8t0dfS0tfSyyoGACbIBJs%3D&r=eJyzScksU0jOSSwutlXKTSxJzlCy0y%2FPTElPLdFPzE2sStXLKrbRB6qxs8FUaFNckJinUFxSmZNqq5Scn5NfZKVQlJ6kYWGko2BoYQEkLC00rRXS8vNKdIszq1KtgAJ6RgUV1gg7SlKLkS0CGWhnk1RkR3M703PykzAsJt9siJshpoCdDgBWqm8y&