Run over *.jsx as well
Ben Alpert committed
Feb 13, 2014 at 19:13 UTC
ecfd0c14739ab8ae65bac4f493b6c3c3548df166
1 file changed
+1
-1
npm-jsx_whitespace_transform/run.js
+1
-1
@@ -35,7 +35,7 @@ function transformDir(dirPath, exclude) {
35
var finder = new FileFinder({
36
rootFolder: dirPath,
37
filterFunction: function(path, stat) {
38
- return /\.js$/.test(path) && (!exclude || !exclude.test(path));
38
+ return /\.jsx?$/.test(path) && (!exclude || !exclude.test(path));
39
}
40
});
41