Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBatty committed Nov 3, 2023
1 parent 77c6608 commit fe81dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sway-types/src/source_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl SourceEngine {
}
}

let manifest_path = sway_utils::find_parent_manifest_dir(path).unwrap();
let manifest_path = sway_utils::find_parent_manifest_dir(path).unwrap_or(path.clone());
let module_id = {
let mut module_map = self.path_to_module_map.write().unwrap();
*module_map.entry(manifest_path.clone()).or_insert_with(|| {
Expand Down

0 comments on commit fe81dc8

Please sign in to comment.