From 94abe5810043cff88e7ddb4165018e0c28d38e00 Mon Sep 17 00:00:00 2001 From: Adam Prescott Date: Mon, 30 May 2016 19:01:08 -0400 Subject: [PATCH] Avoid trailing spaces on lines containing only an asterisk. --- lib/licensify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/licensify.js b/lib/licensify.js index 4ad9581..5102672 100644 --- a/lib/licensify.js +++ b/lib/licensify.js @@ -155,7 +155,7 @@ function createEachHeader(pkg, pluginOptions) { header += ' * ' + prop + ': ' + pkg[prop] + '\n'; } }); - header += ' * \n'; + header += ' *\n'; return header; } @@ -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();