Skip to content

Commit

Permalink
feat(cli): 🚸 added warn when input is not a file
Browse files Browse the repository at this point in the history
  • Loading branch information
SalOne22 committed Jun 2, 2024
1 parent bb0c4a3 commit dd2fe3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/utils/paths/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub fn get_paths(
.into_par_iter()
.filter_map(move |path| -> Option<(PathBuf, PathBuf)> {
if !path.is_file() {
log::warn!("{path:?} is not a file");
return None;
}

Expand Down

0 comments on commit dd2fe3e

Please sign in to comment.