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

@@ -25,4 +25,3 @@ WHERE next_refresh_at IS NULL;
}, },
}) })
} }

View File

@@ -10,7 +10,7 @@ import (
) )
type dataFix struct { type dataFix struct {
id string id string
apply func(ctx context.Context, sqlDB *sql.DB) error apply func(ctx context.Context, sqlDB *sql.DB) error
} }

View File

@@ -66,4 +66,8 @@ func init() {
process.stdout.write(`${filePath}\n`); 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;
});