mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-12 18:15:48 +00:00
fix(migrate): include backup path in rollback command
This commit is contained in:
1 parent
c09cc35352
commit
0aa9131642
2 files changed
+2
-2
No files matched your search
@@ -87,7 +87,7 @@ export async function handleMigrateCommand(args: string[]): Promise<void> {
|
||||
if (dryRun) {
|
||||
console.log(' Run without --dry-run to apply changes');
|
||||
} else {
|
||||
console.log(' Rollback: ccs migrate --rollback');
|
||||
console.log(` Rollback: ccs migrate --rollback ${result.backupPath}`);
|
||||
}
|
||||
console.log('');
|
||||
} else {
|
||||
|
||||
@@ -353,7 +353,7 @@ export async function autoMigrate(): Promise<void> {
|
||||
console.log(` [!] ${warning}`);
|
||||
}
|
||||
}
|
||||
console.log(' Rollback: ccs migrate --rollback');
|
||||
console.log(` Rollback: ccs migrate --rollback ${result.backupPath}`);
|
||||
console.log('');
|
||||
} else {
|
||||
console.log('');
|
||||
|
||||
Reference in new issue
Block a user