From 26776f225b584aa80fc583d39ceec634bb2a56ff Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 16 Jun 2014 08:51:11 -0400 Subject: [PATCH] fix(util) checkExt: add case-insensitive check --- lib/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.js b/lib/util.js index b852d6a4..b6ab1ec4 100644 --- a/lib/util.js +++ b/lib/util.js @@ -44,7 +44,7 @@ exts: ext }); - regExp = new RegExp(regStr); + regExp = new RegExp(regStr, 'i'); isMatch = name.match(regExp); break;