You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a private az npm registry which doesn't have audit endpoint, this will lead a 404 error on getting the AuditReport
the catch part of that function doesn't process this error as well, so the code will goes down all the way to const vulnerabilities = auditReport.metadata.vulnerabilities;
and then this error pops
pnpm version:
6.32.9
tested 7.9.0 as well, same
Code to reproduce the issue:
mono repo with
pnpm-workspace.yaml
Expected behavior:
Show audit result
Actual behavior:
ERROR Cannot read properties of undefined (reading 'metadata')
Additional information:
node -v
prints: v16.15.1The text was updated successfully, but these errors were encountered: