Merge pull request #13011 from brendandahl/remove-new-line
Remove extra new line from HTML source.
This commit is contained in:
commit
0b7415f982
@ -817,7 +817,7 @@ function preprocessHTML(source, defines) {
|
|||||||
fs.unlinkSync(outName);
|
fs.unlinkSync(outName);
|
||||||
|
|
||||||
var i = source.lastIndexOf("/");
|
var i = source.lastIndexOf("/");
|
||||||
return createStringSource(source.substr(i + 1), out);
|
return createStringSource(source.substr(i + 1), `${out.trimEnd()}\n`);
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildGeneric(defines, dir) {
|
function buildGeneric(defines, dir) {
|
||||||
|
Loading…
Reference in New Issue
Block a user