Set ErrorActionPreference on all powershell scripts and add explicit error checks.

This commit is contained in:
Daniel Kirchner
2020-09-17 14:44:52 +02:00
parent 23fa0a5387
commit a1de862135
4 changed files with 15 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
$ErrorActionPreference = "Stop"
# Needed for Invoke-WebRequest to work via CI.
$progressPreference = "silentlyContinue"