Skip to content
Snippets Groups Projects
Commit 7d4bcac7 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Set ErrorActionPreference to "Stop".

parent 394b8a9d
Branches
Tags
No related merge requests found
...@@ -24,6 +24,9 @@ function RelToAbs([string]$RelPath) { ...@@ -24,6 +24,9 @@ function RelToAbs([string]$RelPath) {
} }
$ErrorActionPreference = "Stop"
try { try {
$BuildDate = Get-Content "$($ResourceDir)\BuildDate.txt" -EA Stop $BuildDate = Get-Content "$($ResourceDir)\BuildDate.txt" -EA Stop
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment