This commit is contained in:
Frank 2025-08-28 06:23:20 -04:00
parent 374a92181a
commit 8ff65c9ac1

View file

@ -40,11 +40,12 @@ Keep the reason short and concise, only one sentence.
If the check passed, do not create any file.
`)
// check file exists
// parse for reason
let reason
try {
const reason = await Bun.file(filename).text()
if (reason) throw new Error(reason)
reason = await Bun.file(filename).text()
} catch (e) {}
if (reason) throw new Error(reason)
} finally {
Opencode.closeServer()
await Auth.revoke()