Permalink
Browse files

With a simple script like this ErrorActionPreference is helpful

  • Loading branch information...
1 parent d2a6123 commit ed2fa68f2cf8b0698c0c47fc8cec7b211683a11b @aroben committed Jul 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 bootstrap.ps1
View
@@ -1,4 +1,5 @@
Set-StrictMode -Version Latest
+$ErrorActionPreference = "Stop"
$scriptDirectory = Split-Path $MyInvocation.MyCommand.Path

0 comments on commit ed2fa68

Please sign in to comment.