import{Octokit as e}from"@octokit/rest";let t=null;const n=async()=>{try{return t=new e({auth:process.env.GITHUB_TOKEN}),t}catch(e){let t=`Github connection error - ${e.message}`;throw Error(t)}},r=()=>(t||=new e({auth:process.env.GITHUB_TOKEN}),t);export{n as connectGithub,r as getGithubClient};
//# sourceMappingURL=connectGithub.mjs.map