Skip to content

🐛 Bug: <short description of the bug> #30

@charl-kruger

Description

@charl-kruger

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Expected

The cli assumes your .npmrc file will be in ../azure/.npmrc however the default location on os's would be user..

Have changed it to default to the default .npmrc location and allow a flag to pass in an alternative location

Actual

📦🔑 Welcome to azdo-npm-auth 1.3.0! 📦🔑

● options:
│ - pat: [NONE SUPPLIED - WILL ACQUIRE FROM AZURE]
│ - email: [NONE SUPPLIED - WILL USE DEFAULT VALUE]
│ - daysToExpiry: [NONE SUPPLIED - API WILL DETERMINE EXPIRY]
│ - mode: parse
│ - config: [NONE SUPPLIED - WILL USE DEFAULT LOCATION]

● 🎬 Starting parsing project .npmrc.

◇ ❌ Error parsing project .npmrc.

│ Loading .npmrc at: /Users/charl.kruger/azure/.npmrc

■ Error: No .npmrc found at: /Users/charl.kruger/azure/.npmrc
└ Operation failed. Exiting - maybe another time? 👋


└ 📦🔑 Thanks for using azdo-npm-auth 1.3.0! 📦🔑

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working :( 🐛

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions