Fix debug output

This commit is contained in:
2021-11-21 21:13:28 +01:00
parent 09f22edf49
commit bbedc9d8a8

View File

@@ -599,7 +599,6 @@ pub fn run() {
trees: vec![find_in_tree(path).unwrap()], trees: vec![find_in_tree(path).unwrap()],
}; };
println!("{:#?}", config);
let toml = toml::to_string(&config).unwrap(); let toml = toml::to_string(&config).unwrap();
print!("{}", toml); print!("{}", toml);
@@ -655,7 +654,7 @@ pub fn run() {
}; };
let status = get_repo_status(&repo); let status = get_repo_status(&repo);
if let Some(_) = status.changes { if let Some(_) = status.changes {
println!("Changes found in worktree, refusing to delete!"); print_error("Changes found in worktree, refusing to delete!");
process::exit(1); process::exit(1);
} }