Permalink
Browse files

style(init): make jshint happy

  • Loading branch information...
vojtajina committed May 6, 2013
1 parent 7208249 commit 0d3d97e7930975007d52ff7f5b4adcc3ce60a392
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/init.js
View
@@ -313,9 +313,9 @@ var getReplacementsFromAnswers = function(answers, basePath) {
};
};
-
+var COFFEE_REGEXP = /\.coffee$/;
var isCoffeeFile = function(filename) {
- return /\.coffee$/.test(filename);
+ return COFFEE_REGEXP.test(filename);
};

0 comments on commit 0d3d97e

Please sign in to comment.