From 2bdfdcdd9d41e33212cbbd030034d8eed6849844 Mon Sep 17 00:00:00 2001 From: Armin Becher Date: Sun, 30 Jun 2024 20:21:08 +0200 Subject: [PATCH] fix: do not panic on ignore path not found --- src/cli.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index 3529dd8..37b9649 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -96,7 +96,6 @@ pub fn parse_args() -> Config { .help("Path to the root folder used to resolve all relative paths") .required(false), ) - .arg( Arg::new("gitignore") .long("gitignore") @@ -166,7 +165,6 @@ pub fn parse_args() -> Config { } Err(e) => { println!("⚠ Warn: Ignore path {:?} not found. {:?}.", p, e); - panic!("Exiting due to invalid ignore path."); } }; }