fix: formatting and typecheck
This commit is contained in:
@@ -25,4 +25,3 @@ WHERE next_refresh_at IS NULL;
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
type dataFix struct {
|
||||
id string
|
||||
id string
|
||||
apply func(ctx context.Context, sqlDB *sql.DB) error
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user