Remove now unnecessary eslint-disable statement generated for PdfJsDefaultPreferences.sys.mjs. (bug 1825522).
This commit is contained in:
parent
09da8026b6
commit
bb5467789b
12
gulpfile.js
12
gulpfile.js
@ -1267,7 +1267,6 @@ function preprocessDefaultPreferences(content) {
|
|||||||
const preprocessor2 = require("./external/builder/preprocessor2.js");
|
const preprocessor2 = require("./external/builder/preprocessor2.js");
|
||||||
const licenseHeader = fs.readFileSync("./src/license_header.js").toString();
|
const licenseHeader = fs.readFileSync("./src/license_header.js").toString();
|
||||||
|
|
||||||
const GLOBALS = "/* eslint-disable */\n";
|
|
||||||
const MODIFICATION_WARNING =
|
const MODIFICATION_WARNING =
|
||||||
"//\n// THIS FILE IS GENERATED AUTOMATICALLY, DO NOT EDIT MANUALLY!\n//\n";
|
"//\n// THIS FILE IS GENERATED AUTOMATICALLY, DO NOT EDIT MANUALLY!\n//\n";
|
||||||
|
|
||||||
@ -1283,16 +1282,7 @@ function preprocessDefaultPreferences(content) {
|
|||||||
content
|
content
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return licenseHeader + "\n" + MODIFICATION_WARNING + "\n" + content + "\n";
|
||||||
licenseHeader +
|
|
||||||
"\n" +
|
|
||||||
GLOBALS +
|
|
||||||
"\n" +
|
|
||||||
MODIFICATION_WARNING +
|
|
||||||
"\n" +
|
|
||||||
content +
|
|
||||||
"\n"
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gulp.task(
|
gulp.task(
|
||||||
|
Loading…
Reference in New Issue
Block a user