Skip to content

Commit

Permalink
Avoid trailing spaces on lines containing only an asterisk.
Browse files Browse the repository at this point in the history
  • Loading branch information
aprescott committed May 30, 2016
1 parent 9602824 commit 94abe58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/licensify.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function createEachHeader(pkg, pluginOptions) {
header += ' * ' + prop + ': ' + pkg[prop] + '\n';
}
});
header += ' * \n';
header += ' *\n';
return header;
}

Expand All @@ -164,7 +164,7 @@ function createLicenseHeader (mainPkg, licenses, pluginOptions) {
header += '/**\n';
header += ' * Modules in this bundle\n';
header += ' * @license\n';
header += ' * \n';
header += ' *\n';
header += createEachHeader(mainPkg, pluginOptions);
var keys = Object.keys(licenses);
keys.sort();
Expand Down

0 comments on commit 94abe58

Please sign in to comment.