Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed Dec 17, 2021
1 parent ef550df commit d5c034f
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 41 deletions.
97 changes: 57 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion czkawka_core/src/common_extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl Extensions {
}

pub fn matches_filename(&self, file_name: &str) -> bool {
assert_eq!(file_name, file_name.to_lowercase()); // TODO comment this this after tests
// assert_eq!(file_name, file_name.to_lowercase());
if !self.file_extensions.is_empty() && !self.file_extensions.iter().any(|e| file_name.ends_with(e)) {
return false;
}
Expand Down

0 comments on commit d5c034f

Please sign in to comment.