修正了关于node-glob match pattern的一个描述错误#288
Open
alannesta wants to merge 1 commit intofex-team:masterfrom
Open
Conversation
Contributor
|
看来是 glob 升级了,原来是不可以的。 |
Author
|
👍 有劳了 |
Contributor
|
目前我们使用时是发现还有这个问题,待我们复查下,或者升级 glob 后再来 merge |
Contributor
|
@2betop 查了么? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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&