From 4032ca1a41075411a332117c4bddf608b1128b6f Mon Sep 17 00:00:00 2001 From: Rupert Carr Date: Fri, 20 Dec 2024 16:52:45 +0000 Subject: [PATCH] remove rogue dbgs! --- src/file_operations.rs | 3 --- src/main.rs | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/file_operations.rs b/src/file_operations.rs index eba29b1..1301247 100644 --- a/src/file_operations.rs +++ b/src/file_operations.rs @@ -34,12 +34,9 @@ pub fn create_dotfiles_repo( for dotfile in dotfiles { let target = Path::new(repo_path).join(dotfile.file_name().unwrap()); - dbg!(&dotfile); if dotfile.is_dir() { - dbg!("Is dir"); symlink_dir(dotfile, &target)?; } else { - dbg!("Is file"); symlink_file(dotfile, &target)?; } diff --git a/src/main.rs b/src/main.rs index ccd7a43..61478bf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,7 +19,6 @@ use tui::{get_repo_path, print_title_screen, select_dotfiles}; fn main() -> Result<(), Box> { let args = Args::parse(); - dbg!(&args.config); let config = fs::read_to_string(args.config)?; let config: Config = serde_yaml::from_str(&config)?; @@ -37,11 +36,9 @@ fn main() -> Result<(), Box> { spinner.enable_steady_tick(Duration::from_millis(100)); let found_dotfiles = find_dotfiles(&config.dotfiles, &args.home); - dbg!(&found_dotfiles); spinner.finish_and_clear(); let selected_dotfiles = select_dotfiles(&found_dotfiles)?; - dbg!(&selected_dotfiles); let spinner = ProgressBar::new_spinner(); spinner.set_message("Creating dotfiles repo...");