Skip to content

Commit

Permalink
continue processing if main file not found - thanks @george-aprozeanu
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Jun 29, 2015
1 parent 02b7410 commit 6fb88e0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/detect-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ function gatherInfo(config) {
});

if (dep.main.length === 0 && !depIsExcluded) {
// can't find the main file. this config file is useless!
config.get('on-main-not-found')(component);
return;
}

if (componentConfigFile.dependencies) {
Expand Down

0 comments on commit 6fb88e0

Please sign in to comment.