From 19c3fd1e2fa983859ffc6d6aca71867ec9fe782e Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Tue, 23 Feb 2021 18:00:05 -0800 Subject: [PATCH] Remove extra new line from HTML source. This avoids issues in mozcentral with linting. --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 0c1c4ea2f..8a041a5c6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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) {