Skip to content

Commit

Permalink
CM-41217 - Use absolute path instead of path in SCA restore (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
naftalicy authored Nov 7, 2024
1 parent 84b298c commit d86fd46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_manifest_file_path(self, document: Document) -> str:

def try_restore_dependencies(self, document: Document) -> Optional[Document]:
manifest_file_path = self.get_manifest_file_path(document)
restore_file_path = build_dep_tree_path(document.path, self.get_lock_file_name())
restore_file_path = build_dep_tree_path(document.absolute_path, self.get_lock_file_name())
working_directory_path = self.get_working_directory(document)

if self.verify_restore_file_already_exist(restore_file_path):
Expand Down

0 comments on commit d86fd46

Please sign in to comment.