Merge pull request #13011 from brendandahl/remove-new-line

Remove extra new line from HTML source.
This commit is contained in:
Brendan Dahl 2021-02-24 08:37:44 -08:00 committed by GitHub
commit 0b7415f982
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {