mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix type error in modifyNpmInfo.js
This commit is contained in:
parent
6ae93686b7
commit
a9a4d76705
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ export function modifyNpmInfoResponse(body) {
|
|||
}
|
||||
|
||||
return Buffer.from(JSON.stringify(bodyJson));
|
||||
} catch (err) {
|
||||
} catch (/** @type {any} */ err) {
|
||||
ui.writeVerbose(
|
||||
`Safe-chain: Package metadata not in expected format - bypassing modification. Error: ${err.message}`
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue