all-in-one: remove trailing whitespace from license during build
This commit is contained in:
parent
427e0a0209
commit
d40787cd18
@ -77,9 +77,13 @@ var source = [];
|
||||
|
||||
source = source.concat('/*')
|
||||
.concat(fs.readFileSync('LICENSE', 'utf8')
|
||||
.replace(/^\s+|\s+$/g, '')
|
||||
.split(/\r?\n/g)
|
||||
.map(function(s) {
|
||||
return ' * ' + s;
|
||||
})
|
||||
.map(function(s) {
|
||||
return s.replace(/\s+$/, '');
|
||||
}))
|
||||
.concat(' */')
|
||||
.concat('');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user