Skip to content

Commit c23001d

Browse files
ScriptAnalyzer fixes
1 parent 190f898 commit c23001d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Get-ADOServiceEndpoint.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103
'.Type'
104104
} else {
105105
''
106-
}
106+
}
107+
107108
Invoke-ADORestAPI @invokeParams -Uri $uri -PSTypeName @( # Prepare a list of typenames so we can customize formatting:
108109
"$Organization.$Project.ServiceEndpoint$subTypeName" # * $Organization.$Project.ServiceEndpoint
109110
"$Organization.ServiceEndpoint$subTypeName" # * $Organization.ServiceEndpoint

Set-ADOPermission.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,6 @@ $($cachedNamespaces.$namespaceID.actions | Format-Table -Property Name, DisplayN
431431
$c++
432432
Write-Progress "Setting Permissions for $Identity" " (Allowing: $friendlyAllow Denying: $friendlyDeny) on $SecurityToken " -Id $progId -PercentComplete ($c * 100/$t)
433433

434-
435434
if (-not $Descriptors) {
436435
Write-Error "No -Descriptor or -Identity provided"
437436
return

0 commit comments

Comments
 (0)