Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@GameGGG
Copy link

@GameGGG GameGGG commented Sep 3, 2018

在forEach中进行过滤会导致 由先后顺序引起的过滤失败问题。
修改过滤规则到forEach之外进行。

新增hasIncloud用来判断project.files是否只包含过滤规则,从而保证和之前的index===0执行glob.sync('**',opts)规则相同。

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.

1 participant