MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / main

Function main

scripts/amo-upload.mjs:72–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72async function main() {
73 let error;
74 try {
75 await handleAddon();
76 } catch (err) {
77 if (err?.message === 'Polling skipped') {
78 error = beta ? new Error('Pending review') : undefined;
79 } else {
80 error = err;
81 }
82 }
83 if (error) throw error;
84}
85
86main().catch((err) => {
87 console.error(err);

Callers 1

amo-upload.mjsFile · 0.70

Calls 1

handleAddonFunction · 0.85

Tested by

no test coverage detected