Commit b5bb39d
committed
fix: abort delete in non-interactive mode unless --force is set
Previously, confirmAction returned true when stdin was not a TTY,
allowing destructive deletes to proceed silently in CI/cron/pipes.
Now it returns false, requiring explicit --force for non-interactive use.1 parent 283d2a0 commit b5bb39d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments