Skip to content

Commit

Permalink
Merge pull request #156 from Azure/155-getting-can-bind-argument-to-p…
Browse files Browse the repository at this point in the history
…arameter-notscopein

Fixing bug 155
  • Loading branch information
techlake authored Mar 1, 2023
2 parents ec7dfb2 + f0094fa commit 9fc652b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Scripts/Helpers/Build-NotScopes.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function Build-NotScopes {
param(
[parameter(Mandatory = $True)] [hashtable] $scopeTable,
[parameter(Mandatory = $True)] [string[]] $scopeList,
[parameter(Mandatory = $True)] [string[]] $notScopeIn
[parameter(Mandatory = $False)] [string[]] $notScopeIn = @()
)

$scopeCollection = @()
Expand Down Expand Up @@ -43,6 +43,6 @@ function Build-NotScopes {
Write-Error "Scope '$scope' not found in environment" -ErrorAction Stop
}
}
return , $scopeCollection

Write-Output $scopeCollection -NoEnumerate
}

0 comments on commit 9fc652b

Please sign in to comment.