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

Commit df1f0e9

Browse files
committed
fix: License Reporter no longer runs twice when doing the console reporter. For #57
1 parent 1843555 commit df1f0e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/cli.js

+2
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ module.exports = function run (directory, options) {
4747

4848
if (options.consoleReporter) {
4949
reporter.consoleReport(jsonReport, options);
50+
return resolve(jsonReport);
5051
}
5152

5253
if (options.fileReporter) {
5354
reporter.fileReport(jsonReport, options);
55+
return resolve(jsonReport);
5456
}
5557
}
5658

0 commit comments

Comments
 (0)