Commit dff8990
verify-vendor.sh: fix early exit on non-zero exit code
If `git diff --exit-code vendor go.mod go.sum` found a difference,
it exited with exit code 1 and caused the whole script to exit
prematurely due to `set -o errexit`, skipping the printing of the
final message to the user.1 parent 452d393 commit dff8990
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | | - | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
0 commit comments