Skip to content

Commit 229083f

Browse files
authored
Merge pull request #63 from WeAreInSpark/fixed-pat
fixed should process
2 parents 4100a2b + 744d102 commit 229083f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AzureDevOpsPowerShell/Public/Helpers/Set-AzDoPAT.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function Set-AzDoPAT {
2020
)
2121

2222
process {
23-
if ($PSCmdlet.ShouldProcess()) {
23+
if ($PSCmdlet.ShouldProcess("AzureDevopsPowerShell module", "Set PAT")) {
2424
New-AzDoAuthHeader -Pat $Pat
2525
} else {
2626
Write-Verbose "Calling New-AzDoAuthHeader with pat"

0 commit comments

Comments
 (0)