From 4c04371ea49de2eeb460636dd657807f7ef029fc Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Fri, 15 May 2015 01:48:47 +0100 Subject: [PATCH] remove loop label due to babel bug --- src/babel/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/babel/util.js b/src/babel/util.js index 290c68aa05..59ca726874 100644 --- a/src/babel/util.js +++ b/src/babel/util.js @@ -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; } } }