Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package scoped registries are not recognized #52

Open
codysorgenfrey opened this issue Nov 15, 2024 · 0 comments
Open

Package scoped registries are not recognized #52

codysorgenfrey opened this issue Nov 15, 2024 · 0 comments

Comments

@codysorgenfrey
Copy link

Describe the bug
Tool fails to recognize package scoped registries in project .npmrc.
 
To Reproduce
Steps to reproduce the behavior:

  1. Create a packaged scoped entry in /.npmrc. (ex. @somescope:registry=https...)
  2. Run npm exec ado-npm-auth
  3. See error Error: Registry URL missing or invalid
  4. Remove scope (ex. registry=https...)
  5. Run npm exec ado-npm-auth
  6. See success ✅ Current authentication is valid

Expected behavior
I would expect the tool to refresh my ado token for the given registry even if it is package scoped.

Desktop (please complete the following information):

  • OS: Windows 11 24H2
  • Browser Edge 132.0.2953.0 (Official build) canary (64-bit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant