Skip to content

Commit

Permalink
Remove now unnecessary eslint-disable statement generated for PdfJsDe…
Browse files Browse the repository at this point in the history
…faultPreferences.sys.mjs. (bug 1825522).
  • Loading branch information
Standard8 committed Mar 30, 2023
1 parent 09da802 commit bb54677
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions gulpfile.js
Expand Up @@ -1267,7 +1267,6 @@ function preprocessDefaultPreferences(content) {
const preprocessor2 = require("./external/builder/preprocessor2.js");
const licenseHeader = fs.readFileSync("./src/license_header.js").toString();

const GLOBALS = "/* eslint-disable */\n";
const MODIFICATION_WARNING =
"//\n// THIS FILE IS GENERATED AUTOMATICALLY, DO NOT EDIT MANUALLY!\n//\n";

Expand All @@ -1283,16 +1282,7 @@ function preprocessDefaultPreferences(content) {
content
);

return (
licenseHeader +
"\n" +
GLOBALS +
"\n" +
MODIFICATION_WARNING +
"\n" +
content +
"\n"
);
return licenseHeader + "\n" + MODIFICATION_WARNING + "\n" + content + "\n";
}

gulp.task(
Expand Down

0 comments on commit bb54677

Please sign in to comment.