Remove extra new line from HTML source.
This avoids issues in mozcentral with linting.
This commit is contained in:
parent
fafe039849
commit
19c3fd1e2f
@ -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