Skip to content

Commit

Permalink
fix(app): exclude by default node_modules folder
Browse files Browse the repository at this point in the history
fix #11
  • Loading branch information
vogloblinsky committed Nov 11, 2016
1 parent 7a875a4 commit 69b1e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export namespace Application {
let results = [];
let list = fs.readdirSync(dir);
list.forEach((file) => {
if (exclude.indexOf(file) < 0) {
if (exclude.indexOf(file) < 0 && dir.indexOf('node_modules') < 0) {
file = path.join(dir, file);
let stat = fs.statSync(file);
if (stat && stat.isDirectory()) {
Expand Down

0 comments on commit 69b1e4d

Please sign in to comment.