Skip to content

Commit 4d3c977

Browse files
committed
mv trailing '\n' out of constants into header script
1 parent 1ef217e commit 4d3c977

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tasks/header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var pathsDist = [
1313
];
1414

1515
function headerLicense(path) {
16-
prependFile(path, constants.licenseDist, function(err) {
16+
prependFile(path, constants.licenseDist + '\n', function(err) {
1717
if(err) throw err;
1818
});
1919
}

tasks/util/constants.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ module.exports = {
6161
'* Copyright 2012-2015, Plotly, Inc.',
6262
'* All rights reserved.',
6363
'* Licensed under the MIT license',
64-
'*/',
65-
''
64+
'*/'
6665
].join('\n')
6766
};

0 commit comments

Comments
 (0)