fix: formatting and typecheck

This commit is contained in:
2026-05-26 13:49:44 +02:00
parent 76a32e1dc4
commit 1eb28dad64
3 changed files with 6 additions and 3 deletions

View File

@@ -66,4 +66,8 @@ func init() {
process.stdout.write(`${filePath}\n`);
}
await main();
main().catch((error: unknown) => {
const message = error instanceof Error ? error.message : String(error);
process.stderr.write(`${message}\n`);
process.exitCode = 1;
});