Add block for declared var

This commit is contained in:
2026-01-10 13:05:39 -06:00
parent 8cd4b42cc6
commit b235a6be9a

View File

@@ -12,7 +12,7 @@ async function main(): Promise<void> {
await migrate();
break;
case "status":
case "status": {
const status = await migrationStatus();
console.log("Applied migrations:");
for (const name of status.applied) {
@@ -27,6 +27,7 @@ async function main(): Promise<void> {
console.log("\nNo pending migrations");
}
break;
}
default:
console.error(`Unknown command: ${command}`);