microsoft / rushstack

Monorepo for tools developed by the Rush Stack community
https://rushstack.io/
Other
5.85k stars 594 forks source link

[rush-lib] Fix 404 detection incorrectly when fetching package information #4776

Closed kamontat closed 3 months ago

kamontat commented 3 months ago

Summary

When I'm trying to publish new package, it will fetch package information from registry. The code handles if npm return npm ERR! 404 however, on my case the 404 wasn't matched with the expected string.

CleanShot 2024-06-11 at 11 33 57@2x

Details

How it was tested

Impacted documentation