diff --git a/.github/quickstart/plugin/index.mjs b/.github/quickstart/plugin/index.mjs index a8d78e65..defb82a8 100644 --- a/.github/quickstart/plugin/index.mjs +++ b/.github/quickstart/plugin/index.mjs @@ -1,15 +1,15 @@ //Setup - export default async function({login, q, imports, data, computed, rest, graphql, queries, account}, {enabled = false} = {}) { - //Plugin execution - try { - //Check if plugin is enabled and requirements are met - if ((!enabled)||(!q.<%= name %>)) - return null - //Results - return {} - } - //Handle errors - catch (error) { - throw {error:{message:"An error occured", instance:error}} - } - } \ No newline at end of file +export default async function({login, q, imports, data, computed, rest, graphql, queries, account}, {enabled = false} = {}) { + //Plugin execution + try { + //Check if plugin is enabled and requirements are met + if ((!enabled)||(!q.<%= name %>)) + return null + //Results + return {} + } + //Handle errors + catch (error) { + throw {error:{message:"An error occured", instance:error}} + } +} \ No newline at end of file