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
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,9 @@ function RelToAbs([string]$RelPath) {
}
$ErrorActionPreference = "Stop"
try {
$BuildDate = Get-Content "$($ResourceDir)\BuildDate.txt" -EA Stop
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment