Commit e5928d6
committed
fix(01-quickstart): don't abort on model inspect probe under ErrorActionPreference Stop
A missing model makes 'docker model inspect' write to stderr, which
$ErrorActionPreference = 'Stop' turns into a terminating error, killing
the script before the pull step on a fresh install. Lower the preference
to Continue only around the probe and key off $LASTEXITCODE.1 parent 504e23c commit e5928d6
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
0 commit comments