Skip to content

Commit

Permalink
[Fixes #181] - Removed extra line break with --cvs
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Oct 11, 2018
1 parent 65baa28 commit 9433e64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/license-checker
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ checker.init(args, function(err, json) {
if (args.json) {
formattedOutput = JSON.stringify(json, null, 2) + '\n';
} else if (args.csv) {
formattedOutput = checker.asCSV(json, args.customFormat, args.csvComponentPrefix) + '\n';
formattedOutput = checker.asCSV(json, args.customFormat, args.csvComponentPrefix);
} else if (args.markdown){
formattedOutput = checker.asMarkDown(json, args.customFormat) + '\n';
} else if (args.summary) {
Expand All @@ -104,4 +104,4 @@ checker.init(args, function(err, json) {

function shouldColorizeOutput(args) {
return args.color && !args.out && !(args.csv || args.json || args.markdown);
}
}

0 comments on commit 9433e64

Please sign in to comment.