fix: stop --dry-run from writing to the working tree
This commit is contained in:
@@ -13,6 +13,10 @@ fn main() -> ExitCode {
|
||||
dry_run: args.dry_run,
|
||||
});
|
||||
|
||||
if args.dry_run {
|
||||
cli::reject_unsupported_dry_run(&args.command);
|
||||
}
|
||||
|
||||
match run(args.command) {
|
||||
Ok(code) => code,
|
||||
Err(e) => {
|
||||
|
||||
Reference in New Issue
Block a user