Skip to content

Commit af51133

Browse files
authored
Update reboot_pending/tests/reboot_pending.tests.ps1
1 parent 4d84ad6 commit af51133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reboot_pending/tests/reboot_pending.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Describe 'reboot_pending resource tests' {
2727
$LASTEXITCODE | Should -Be 0
2828
$out.actualState.reason | Should -Not -BeNullOrEmpty
2929
} finally {
30-
Remove-ItemProperty -Path $keyPath -Name $keyName -ErrorAction SilentlyContinue
30+
Remove-ItemProperty -Path $keyPath -Name $keyName -ErrorAction Ignore
3131
}
3232
}
3333
}

0 commit comments

Comments
 (0)