From fff96bd38c261efc4d7c968db7dae55b975bf8a7 Mon Sep 17 00:00:00 2001 From: Eugene Obrezkov Date: Thu, 16 Apr 2015 21:27:36 +0300 Subject: [PATCH] Remove test folder for parsing AST --- generators/app/steps/end.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generators/app/steps/end.js b/generators/app/steps/end.js index 8626d100..7fe8f05c 100644 --- a/generators/app/steps/end.js +++ b/generators/app/steps/end.js @@ -18,7 +18,8 @@ module.exports = { if (!(this.options['skip-install'] || this.options['skip-all'])) { var done = this.async(); - recursive(this.destinationPath(), ['node_modules'], function (error, files) { + // FIXME: test folder is also scanning for require and this cause issue with relative + recursive(this.destinationPath(), ['node_modules', 'test'], function (error, files) { files = files.filter(function (file) { return file.split('.').pop() === 'js'; }).map(function (file) {