Skip to content

Commit

Permalink
fix: do not panic on ignore path not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Becher authored and Armin Becher committed Jun 30, 2024
1 parent e02ce2b commit 2bdfdcd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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.");
}
};
}
Expand Down

0 comments on commit 2bdfdcd

Please sign in to comment.