Add block for declared var
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user