Remove extra new line from HTML source.

This avoids issues in mozcentral with linting.
This commit is contained in:
Brendan Dahl 2021-02-23 18:00:05 -08:00
parent fafe039849
commit 19c3fd1e2f

View File

@ -817,7 +817,7 @@ function preprocessHTML(source, defines) {
fs.unlinkSync(outName);
var i = source.lastIndexOf("/");
return createStringSource(source.substr(i + 1), out);
return createStringSource(source.substr(i + 1), `${out.trimEnd()}\n`);
}
function buildGeneric(defines, dir) {