Repository navigation
Conversation
… when json.error.summary is undefined (pnpm)
|
|
Closing: the pnpm publish error handling has been refactored upstream (PR #2155). The |
… when json.error.summary is undefined (pnpm)
|
|
Closing: the pnpm publish error handling has been refactored upstream (PR #2155). The |
Fixes #2184. pnpm publish --json returns errors as
{code, message}whereas npm uses{summary, detail}. isAlreadyPublishedError was only readingsummary, causing a TypeError for pnpm publishes. Usejson.error.summary ?? json.error.messageto handle both formats.