Skip to content

Commit da52aa7

Browse files
authored
fix: imports regex fallback (#225)
smol typo, should close foundry-rs/foundry#9365
1 parent 243d24b commit da52aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/compilers/src/resolver/parse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ impl SolData {
130130
.first()
131131
.map(|(cap, name)| Spanned::new(name.as_str().to_owned(), cap.range()));
132132
}
133-
if !imports.is_empty() {
133+
if imports.is_empty() {
134134
imports = capture_imports(content);
135135
}
136136
}

0 commit comments

Comments
 (0)