We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79c94b1 commit 3cb5008Copy full SHA for 3cb5008
1 file changed
test/DscResource/PSResourceGetDSCResource.Tests.ps1
@@ -19,7 +19,7 @@ function SetupDsc {
19
$script:dscExe = Get-Command -name dsc -CommandType Application | Select-Object -First 1
20
21
$expectedModulePath = Join-Path $env:BUILD_SOURCESDIRECTORY 'out'
22
- $resources = Get-ChildItem $expectedModulePath/*resource.json -ErrorAction SilentlyContinue
+ $resources = Get-ChildItem $expectedModulePath/*resource.json -ErrorAction SilentlyContinue -Recurse
23
24
if (-not $script:dscExe) {
25
throw "Could not find dsc executable in PATH after setup."
0 commit comments