Skip to content

Commit 865be0a

Browse files
committed
CM-55551 CLI SCA Scan Fails to Detect Indirect Dependencies Due to PNPM Lock File Handling
1 parent aac1446 commit 865be0a

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
@@ -55,7 +55,7 @@ def get_manifest_file_path(self, document: Document) -> str:
5555
join_paths(get_path_from_context(self.ctx), document.path) if self.ctx.obj.get('monitor') else document.path
5656
)
5757

58-
def try_restore_dependencies(self, document: Document) -> Optional[Document]:
58+
def try_restore_dependencies(self, document: Document) -> Optional[Document]:
5959
manifest_file_path = self.get_manifest_file_path(document)
6060
restore_file_path = build_dep_tree_path(document.absolute_path, self.get_lock_file_name())
6161
relative_restore_file_path = build_dep_tree_path(document.path, self.get_lock_file_name())

0 commit comments

Comments
 (0)