import{s as e}from"./DrKWWDpL.js";import{t}from"./DYP3EJMY.js";import{c as n}from"./CX8DOZuw2.js";var r=e(t(),1);async function i(e,t){let i=(0,r.join)(t??n(),`.cleo`,`audit`);try{await(0,r.mkdir)(i,{recursive:!0})}catch(e){if(!(e instanceof Error)||!e.message.includes(`EEXIST`))throw e}await(0,r.appendFile)((0,r.join)(i,`nexus-risk-ack.jsonl`),`${JSON.stringify(e)}\n`,{encoding:`utf8`})}export{i as appendNexusRiskAck};