Skip to content

Commit

Permalink
replace instead of add
Browse files Browse the repository at this point in the history
  • Loading branch information
zth committed Jun 4, 2024
1 parent 1561e59 commit ab59b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysis/src/Packages.ml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ let newBsPackage ~rootPath =
| None -> []
| Some namespace ->
let cmt = Filename.concat libBs namespace ^ ".cmt" in
Hashtbl.add pathsForModule namespace (Namespace {cmt});
Hashtbl.replace pathsForModule namespace (Namespace {cmt});
let path = [FindFiles.nameSpaceToName namespace] in
[path]
in
Expand Down

0 comments on commit ab59b54

Please sign in to comment.