We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79c94b1 commit cdc78f1Copy full SHA for cdc78f1
1 file changed
test/DscResource/PSResourceGetDSCResource.Tests.ps1
@@ -18,8 +18,7 @@ function SetupDsc {
18
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 $env:BUILD_SOURCESDIRECTORY/*resource.json -ErrorAction SilentlyContinue -Recurse -Verbose
23
24
if (-not $script:dscExe) {
25
throw "Could not find dsc executable in PATH after setup."
0 commit comments