Skip to content

Commit

Permalink
remove rogue dbgs!
Browse files Browse the repository at this point in the history
  • Loading branch information
rupert648 committed Dec 20, 2024
1 parent b6b8768 commit 4032ca1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/file_operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
}

Expand Down
3 changes: 0 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ use tui::{get_repo_path, print_title_screen, select_dotfiles};

fn main() -> Result<(), Box<dyn std::error::Error>> {
let args = Args::parse();
dbg!(&args.config);
let config = fs::read_to_string(args.config)?;
let config: Config = serde_yaml::from_str(&config)?;

Expand All @@ -37,11 +36,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
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...");
Expand Down

0 comments on commit 4032ca1

Please sign in to comment.