Skip to content

Commit 4a6054f

Browse files
AndrewSteveL-MSFT
andauthored
Update dsc/tests/dsc_discovery.tests.ps1
Co-authored-by: Steve Lee <[email protected]>
1 parent 3b87bfd commit 4a6054f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc/tests/dsc_discovery.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Describe 'tests for resource discovery' {
146146
$env:PSModulePath += [System.IO.Path]::PathSeparator + $TestClassResourcePath
147147

148148
# remove adapter lookup table file
149-
Remove-Item -Force -Path $script:lookupTableFilePath -ErrorAction SilentlyContinue
149+
Remove-Item -Force -Path $script:lookupTableFilePath -ErrorAction Stop
150150
Test-Path $script:lookupTableFilePath -PathType Leaf | Should -BeFalse
151151

152152
# initial invocation should populate and save adapter lookup table

0 commit comments

Comments
 (0)