From bbedc9d8a8ee1ab22fa3d9b4b0efa6eab54af413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sun, 21 Nov 2021 21:13:28 +0100 Subject: [PATCH] Fix debug output --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 998523e..bbeb8c0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -599,7 +599,6 @@ pub fn run() { trees: vec![find_in_tree(path).unwrap()], }; - println!("{:#?}", config); let toml = toml::to_string(&config).unwrap(); print!("{}", toml); @@ -655,7 +654,7 @@ pub fn run() { }; let status = get_repo_status(&repo); 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); }