提交 9fdc37fd 编写于 作者: R Rob Lourens

Fix extraFiles search and tests

上级 97e4c809
......@@ -135,7 +135,7 @@ export class FileWalker {
if (extraFiles) {
extraFiles.forEach(extraFilePath => {
const basename = paths.basename(extraFilePath);
if (!this.globalExcludePattern || this.globalExcludePattern(extraFilePath, basename)) {
if (this.globalExcludePattern && this.globalExcludePattern(extraFilePath, basename)) {
return; // excluded
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册