From 3e1c915a78e46df64748ea8127e67d622eb2af3b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 21 May 2014 05:16:15 -0400 Subject: [PATCH] feature(util) checkExt: add test --- lib/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.js b/lib/util.js index 8b9abaea..54d6d478 100644 --- a/lib/util.js +++ b/lib/util.js @@ -107,7 +107,7 @@ break; } - return isMatch; + return !!isMatch; }; /**