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

Commit

Permalink
Merge pull request #89 from helio-frota/szero-86
Browse files Browse the repository at this point in the history
fix: report summary bug
  • Loading branch information
helio-frota committed Mar 13, 2017
2 parents a51a0bd + 81ed72b commit 523e830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function fileReport (jsonReport, options) {

function summary (jsonReport, missing) {
header('[ Unused dependencies ]');
log.red(jsonReport.unused);
log.red(jsonReport.unused.map(dependency => dependency.name));

header('[ Missing dependencies ]');
if (missing.length) {
Expand Down

0 comments on commit 523e830

Please sign in to comment.