Skip to content

Commit

Permalink
Fix paths handling for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nurchik committed Jun 11, 2024
1 parent 441cd78 commit 4f5b3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuzzing_cli/fuzz/ide/hardhat.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def process_artifacts(self) -> Tuple[Dict[str, List[Contract]], Dict[str, Source
source_ids.append(source["id"])
source_paths[str(source["id"])] = source_name

if source_name in source_files:
if str(Path(source_name)) in source_files:
# we need to store the source file content and ast node for each source file
# belonging to the current build_info file. Same source file can be present in multiple
# build_info files, so we need to store the source file content and ast only from
Expand Down

0 comments on commit 4f5b3af

Please sign in to comment.