azure-devops-npm-auth icon indicating copy to clipboard operation
azure-devops-npm-auth copied to clipboard

Misleading error when no registry can be found

Open VerticalVeith opened this issue 9 months ago • 0 comments

Currently, the following error is thrown when no registry can be found: https://github.com/gsoft-inc/azure-devops-npm-auth/blob/2271deb559f15fcaed6711a55937538a82b15e6d/index.ts#L119-L123

#28 Added support for yarn v2+ by checking whether a .yarnrc.yml exists.

See https://github.com/gsoft-inc/azure-devops-npm-auth/blob/2271deb559f15fcaed6711a55937538a82b15e6d/index.ts#L42-L44

The error message should reflect that change.

There is also no mention whether the .yarnrc.yml or .npmrc was used to check for registries.

VerticalVeith avatar Feb 05 '25 15:02 VerticalVeith