Commit ea67db2
Steve McGill
Sets ErrorActionPreference to Stop
There are a few areas of the script which assume the previous lines have worked,
without asserting that that's true.
ErrorActionPreference ensures that the script stops as soon as there is an error,
which makes it easier to debug what's happening as the errors become steadily more
misleading the further down the script it gets.1 parent a92782b commit ea67db2
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments