microsoft / ado-npm-auth

This package can automatically use the azureauth CLI to fetch tokens and update a user's .npmrc file for authenticating to Azure DevOps npm feeds.
MIT License
9 stars 7 forks source link

fix: join the strings in isAzureAuthInstalled #15

Closed MatanBobi closed 4 months ago

MatanBobi commented 4 months ago

Since azureAuthCommand() returns string[], when using it, when adding the --version flag, we just concati t with , and therefor it always falls back to the catch.