MethodsAndPractices / vsteam

PowerShell module for accessing Azure DevOps Services and Azure DevOps Server (formerly VSTS or TFS)
https://methodsandpractices.github.io/vsteam-docs/
MIT License
442 stars 155 forks source link

Fix #493 import-module loses previously stored configuration #500

Closed mnieto closed 1 year ago

mnieto commented 1 year ago

PR Summary

When the module is configured with Set-VSTeamAccount -Level user, the configuration is stored in env variables and then recovered next time while import-module vsteam The problem was introduced in commit 0528c76 (#467 closed in #480)

PR Checklist

Note: First 2 checks don't apply because the changes are in the vsteam.psm1 file

mnieto commented 1 year ago

Cancelling PR because the update in the windows-lastest in Github actions forces to update from netcore 3.1 first