From f8fdcd253ef489ec1130f2807550ed92ab6ed854 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Fri, 27 Sep 2024 16:55:24 -0500 Subject: [PATCH] fix: lisify --- ape_vyper/compiler/api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ape_vyper/compiler/api.py b/ape_vyper/compiler/api.py index e50f70f..54ec7d4 100644 --- a/ape_vyper/compiler/api.py +++ b/ape_vyper/compiler/api.py @@ -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,