Skip to content

Commit d86fd46

Browse files
authored
CM-41217 - Use absolute path instead of path in SCA restore (#262)
1 parent 84b298c commit d86fd46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cycode/cli/files_collector/sca/base_restore_dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def get_manifest_file_path(self, document: Document) -> str:
5454

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

6060
if self.verify_restore_file_already_exist(restore_file_path):

0 commit comments

Comments
 (0)