Skip to content

Commit

Permalink
chore: delete unused scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rzlnhd committed May 16, 2022
1 parent 3b105dc commit 4c0e9ea
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions gulp/utils/generateHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,7 @@ function generateHeader(package) {
});
}

function generateMetaUpdate(package) {
const app = package;
const userscript = app.userscript;
const setKey = (key) => `@${key.padEnd(12, " ")}`;

const header = ["// ==UserScript=="];
header.push(`// ${setKey("name")} ${userscript["name"]}`);
header.push(`// ${setKey("version")} ${app["version"]}`);
header.push("// ==/UserScript==");

return header.join("\n") + "\n\n";
}

module.exports = {
scriptHeader: generateHeader,
styleHeader: generateStyleHeader,
metaUpdate: generateHeader,
};

0 comments on commit 4c0e9ea

Please sign in to comment.