Skip to content

Commit

Permalink
fix: lisify
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Sep 27, 2024
1 parent b5c26f0 commit f8fdcd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ape_vyper/compiler/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,9 @@ def get_version_map(
project: Optional[ProjectManager] = None,
) -> dict[Version, set[Path]]:
pm = project or self.local_project
import_map = self._import_resolver.get_imports(pm, contract_filepaths, use_cache=False)
import_map.paths = contract_filepaths
return self._get_version_map_from_import_map(contract_filepaths, import_map, project=pm)
paths = [p for p in contract_filepaths]
import_map = self._import_resolver.get_imports(pm, paths, use_cache=False)
return self._get_version_map_from_import_map(paths, import_map, project=pm)

def _get_version_map_from_import_map(
self,
Expand Down

0 comments on commit f8fdcd2

Please sign in to comment.