Skip to content

Commit

Permalink
remove global from userscripts (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
pufferfish101007 authored Oct 27, 2022
1 parent 845f7cf commit 1523ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import { existsSync, readdirSync, mkdirSync, writeFileSync, readFileSync } from
},
];

const userscriptJS = `export default async function ({ addon, msg, global, console }) {\n\n}\n`;
const userscriptJS = `export default async function ({ addon, msg, console }) {\n\n}\n`;
writeFileSync(dir + sep + "userscript.js", userscriptJS);
}
if (userstyleMatch) {
Expand Down

0 comments on commit 1523ba8

Please sign in to comment.