Skip to content

Commit 446c795

Browse files
authored
fix(forge): don't check Cargo.toml on module bindgen (#11704)
1 parent 1f7f460 commit 446c795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/sol-macro-gen/src/sol_macro_gen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ edition = "2021"
283283
alloy_version: Option<String>,
284284
alloy_rev: Option<String>,
285285
) -> Result<()> {
286-
if check_cargo_toml {
286+
if check_cargo_toml && !is_mod {
287287
self.check_cargo_toml(name, version, crate_path, alloy_version, alloy_rev)?;
288288
}
289289

0 commit comments

Comments
 (0)