Skip to content

Commit

Permalink
return LoadedSource for CLI loads
Browse files Browse the repository at this point in the history
  • Loading branch information
t81lal committed May 3, 2024
1 parent 498a3bf commit ac57195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solidity_parser/filesys.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def process_cli_input_file(self, file_path):
# CLI load method
source_unit_name = self._cli_path_to_source_name(file_path)
src_code = self._read_file(file_path)
self._add_loaded_source(source_unit_name, src_code, origin='[CLI]:'+file_path)
return self._add_loaded_source(source_unit_name, src_code, origin='[CLI]:'+file_path)

def process_standard_json(self, path: str):
json_content = self._read_file(path)
Expand Down

0 comments on commit ac57195

Please sign in to comment.