Skip to content

Commit

Permalink
Bug fixin'
Browse files Browse the repository at this point in the history
  • Loading branch information
BobJWalker committed Dec 17, 2021
1 parent dc94afb commit 8d84ecc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ foreach ($space in $spacesList.Items)
foreach ($environmentToCheck in $environmentsToCheckList)
{
$found = $false
foreach ($environment in $environmentsList)
foreach ($environment in $environmentsList.Items)
{
Write-Verbose "Checking $($environment.Name) with $environmentToCheck"
if ($environment.Name.ToLower().Trim() -eq $environmentToCheck.ToLower().Trim())
Expand Down

0 comments on commit 8d84ecc

Please sign in to comment.