Skip to content

Commit

Permalink
fix imports regex fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Nov 20, 2024
1 parent 243d24b commit ac6c05d
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 ac6c05d

Please sign in to comment.