Skip to content

Commit 08ff284

Browse files
authored
Set-GitHubConfiguration Add PositionalBinding (#234)
1 parent 7818776 commit 08ff284

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: GitHubConfiguration.ps1

+3-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ function Set-GitHubConfiguration
169169
Sets all requests to connect to a GitHub Enterprise server running at
170170
github.contoso.com.
171171
#>
172-
[CmdletBinding(SupportsShouldProcess)]
172+
[CmdletBinding(
173+
PositionalBinding = $false,
174+
SupportsShouldProcess)]
173175
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSShouldProcess", "", Justification="Methods called within here make use of PSShouldProcess, and the switch is passed on to them inherently.")]
174176
param(
175177
[ValidatePattern('^(?!https?:)(?!api\.)(?!www\.).*')]

0 commit comments

Comments
 (0)