Re:I Accidentally Deleted 7TB of Videos Before Going to Prod...
by aqme28 on Thursday May 05, 2022 @07:19AM
(#31271936)
Rather than commenting it out, I suggest adding a --live-run flag to scripts and checking the output of --live-run=false (or omitted) before you run it "live."
[ Parent
| on HN ]
Re:I Accidentally Deleted 7TB of Videos Before Going to Prod...
by sdevonoes on Thursday May 05, 2022 @07:26AM
(#31271992)
But then you have double the chances of introducing a bug for the specific scenario we are talking about:
Before: there is chance there is a bug in my "delete" use case
Now: what we have before plus the change that there is a bug in my "--live-run" flag