Skip to content

Commit 43c78df

Browse files
committed
fix: close unclosed brace in runBackup, add Backup complete output
1 parent 9ea2c3e commit 43c78df

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/cli/src/commands/backup.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,12 @@ export async function runBackup(args: BackupArgs): Promise<void> {
599599
}
600600
}
601601

602+
console.log(`Backup complete: ${archivePath}`);
603+
} finally {
604+
rmSync(stagingDir, { recursive: true, force: true });
605+
}
606+
}
607+
602608
export async function runBackupSecrets(): Promise<void> {
603609
const home = homedir();
604610
const backupDir = join(home, ".tps", "backups");

0 commit comments

Comments
 (0)