microsoft / PowerShellForGitHub

Microsoft PowerShell wrapper for GitHub API
Other
588 stars 186 forks source link

Remove static analysis warning for using a module alias being referenced in a test #414

Closed HowardWolosky closed 1 year ago

HowardWolosky commented 1 year ago

Description

I generally don't like aliases being used (neither does PSScriptAnalyzer), but in this case, New-GitHubDeploymentEnvironment was writting to be able to behave as Set-GitHubDeploymentEnvironment as well, and we should be testing it the way that a user would likely be calling it.

Checklist