remove loop label due to babel bug
This commit is contained in:
parent
d3e385c554
commit
4c04371ea4
@ -114,11 +114,11 @@ export function shouldIgnore(filename, ignore, only) {
|
||||
if (only.length) {
|
||||
var matches = false;
|
||||
|
||||
patternLoop: for (var pattern of (only: Array)) {
|
||||
for (var pattern of (only: Array)) {
|
||||
for (let filename of (filenames: Array)) {
|
||||
if (pattern.test(filename)) {
|
||||
matches = true;
|
||||
break patternLoop;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user