We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b87bfd commit 4a6054fCopy full SHA for 4a6054f
dsc/tests/dsc_discovery.tests.ps1
@@ -146,7 +146,7 @@ Describe 'tests for resource discovery' {
146
$env:PSModulePath += [System.IO.Path]::PathSeparator + $TestClassResourcePath
147
148
# remove adapter lookup table file
149
- Remove-Item -Force -Path $script:lookupTableFilePath -ErrorAction SilentlyContinue
+ Remove-Item -Force -Path $script:lookupTableFilePath -ErrorAction Stop
150
Test-Path $script:lookupTableFilePath -PathType Leaf | Should -BeFalse
151
152
# initial invocation should populate and save adapter lookup table
0 commit comments