Skip to content

Commit

Permalink
Merge branch 'main' into fix-shimi
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-arts authored Mar 13, 2024
2 parents 085d663 + f628264 commit a502605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl Prefix {
{
let entry = entry.into_diagnostic()?;
let path = entry.path();
if path.ends_with(".json") {
if !path.is_file() || path.extension() != Some("json".as_ref()) {
continue;
}

Expand Down

0 comments on commit a502605

Please sign in to comment.