Skip to content

Commit

Permalink
I just merge it
Browse files Browse the repository at this point in the history
  • Loading branch information
MisileLab authored Sep 29, 2023
1 parent a629cb4 commit 193bb60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ pub fn separate_known_extensions_from_name(path: &Path) -> (&Path, Vec<Extension

if let Ok(name) = name.to_str() {
let file_stem = name.trim_matches('.');
if

_EXTENSIONS.contains(&file_stem) || SUPPORTED_ALIASES.contains(&file_stem) {
if _EXTENSIONS.contains(&file_stem) || SUPPORTED_ALIASES.contains(&file_stem) {
warning!("Received a file with name '{file_stem}', but {file_stem} was expected as the extension.");
}
}
Expand Down

0 comments on commit 193bb60

Please sign in to comment.