Skip to content

Commit c6411fa

Browse files
dkettmannyanhp
andauthored
Update AutomatedLabTest/functions/Invoke-LabPester.ps1
Only need each path once, filtering for unique paths. Co-authored-by: Jan-Hendrik Peters <nyanhp@users.noreply.github.com>
1 parent 0d049e5 commit c6411fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AutomatedLabTest/functions/Invoke-LabPester.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
$config_paths += Join-Path -Path $global:LabSources\CustomRoles -ChildPath $role
4848
}
4949
}
50-
$configuration.Run.Path = $config_paths
50+
$configuration.Run.Path = $config_paths | Sort-Object -Unique
5151
$configuration.Filter.Tag = $tags
5252
$configuration.Should.ErrorAction = 'Continue'
5353
$configuration.TestResult.Enabled = $true

0 commit comments

Comments
 (0)