Skip to content

Commit

Permalink
fix: imports regex fallback (#225)
Browse files Browse the repository at this point in the history
smol typo, should close
foundry-rs/foundry#9365
  • Loading branch information
klkvr authored Nov 20, 2024
1 parent 243d24b commit da52aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/compilers/src/resolver/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl SolData {
.first()
.map(|(cap, name)| Spanned::new(name.as_str().to_owned(), cap.range()));
}
if !imports.is_empty() {
if imports.is_empty() {
imports = capture_imports(content);
}
}
Expand Down

0 comments on commit da52aa7

Please sign in to comment.