Skip to content

Commit 9b17d7c

Browse files
committed
CM-55551 CLI SCA Scan Fails to Detect Indirect Dependencies Due to PNPM Lock File Handling
1 parent 5e9883d commit 9b17d7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cycode/cli/files_collector/sca/npm/restore_npm_dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_commands(self, manifest_file_path: str) -> list[list[str]]:
3737
]
3838

3939
def get_restored_lock_file_name(self, restore_file_path: str) -> str:
40-
return NPM_LOCK_FILE_NAME if restore_file_path is None else os.path.basename(restore_file_path)
40+
return NPM_LOCK_FILE_NAME if restore_file_path is None else os.path.basename(restore_file_path)
4141

4242
def get_lock_file_name(self) -> str:
4343
return NPM_LOCK_FILE_NAME

0 commit comments

Comments
 (0)