mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Remove extra new line from HTML source.
This avoids issues in mozcentral with linting.
This commit is contained in:
parent
fafe039849
commit
19c3fd1e2f
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue