mirror of
https://github.com/nasa/openmct.git
synced 2025-01-21 03:55:31 +00:00
[API] Fix whitespace of bundle rewrites
This commit is contained in:
parent
9ebafa157b
commit
792fda48e3
@ -8,6 +8,8 @@ var glob = require('glob'),
|
||||
function indent(str) {
|
||||
return str.split('\n').map(function (line, index) {
|
||||
return index === 0 ? line : (' ' + line);
|
||||
}).filter(function (line) {
|
||||
return line.trim().length > 0;
|
||||
}).join('\n');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user