Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBatty committed Nov 2, 2023
1 parent 69151e7 commit 0186e8e
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 0186e8e

Please sign in to comment.