Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix: License Reporter no longer runs twice when doing the console rep…
Browse files Browse the repository at this point in the history
…orter. For #57
  • Loading branch information
lholmquist committed Nov 9, 2016
1 parent 1843555 commit df1f0e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ module.exports = function run (directory, options) {

if (options.consoleReporter) {
reporter.consoleReport(jsonReport, options);
return resolve(jsonReport);
}

if (options.fileReporter) {
reporter.fileReport(jsonReport, options);
return resolve(jsonReport);
}
}

Expand Down

0 comments on commit df1f0e9

Please sign in to comment.