Skip to content

Commit

Permalink
Improve error message when library dependency isn't found
Browse files Browse the repository at this point in the history
Co-authored-by: João Matos <[email protected]>
  • Loading branch information
jjcnn and tritao authored Jan 8, 2025
1 parent e6cf7d0 commit e58ec1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forc-pkg/src/pkg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ pub fn dependency_namespace(
DepKind::Library => lib_namespace_map
.get(&dep_node)
.cloned()
.expect("no root module")
.expect("no root namespace module")
.clone(),
DepKind::Contract { salt } => {
let dep_contract_id = compiled_contract_deps
Expand Down

0 comments on commit e58ec1b

Please sign in to comment.