azure-devops-npm-auth
azure-devops-npm-auth copied to clipboard
Misleading error when no registry can be found
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.