mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Update ErrorAction from SilentlyContinue to Ignore for remove-item in Update-TypeData Pester test
This commit is contained in:
1 parent
3d6dae89a1
commit
fb02fd76a6
1 file changed
+2
-2
@@ -55,7 +55,7 @@ Describe "Update-TypeData basic functionality" -Tags DRT{
|
||||
finally
|
||||
{
|
||||
Remove-TypeData -Path $testfile
|
||||
Remove-Item $testfile -Force
|
||||
Remove-Item $testfile -ErrorAction Ignore
|
||||
}
|
||||
}
|
||||
|
||||
@@ -327,7 +327,7 @@ Describe "Update-TypeData basic functionality" -Tags DRT{
|
||||
finally
|
||||
{
|
||||
Remove-TypeData -Path $testfile
|
||||
Remove-Item $testfile -ErrorAction SilentlyContinue
|
||||
Remove-Item $testfile -ErrorAction Ignore
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user