Skip to content

Commit 3c1b327

Browse files
committed
fix bug
1 parent 79f7ef7 commit 3c1b327

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/build/deps.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ fn get_dep_modules(
8686
return false;
8787
}
8888

89-
// If the module exists, check if it's in the same package (always allowed)
9089
if let Some(dep_module) = build_state.modules.get(dep) {
90+
// If the module exists, check if it's in the same package (always allowed)
9191
if dep_module.package_name == package.name {
9292
return true;
9393
}
@@ -96,7 +96,7 @@ fn get_dep_modules(
9696
return allowed_dependencies.contains(&dep_module.package_name);
9797
}
9898

99-
false
99+
true
100100
})
101101
.collect::<AHashSet<String>>();
102102
}

0 commit comments

Comments
 (0)