Commit 97ea52b
authored
fix(hooks): guard strings/cat against set -e abort in pre-push (#177)
Add || echo "" fallback to strings and cat command substitutions.
Without this, if strings is not installed (e.g. minimal Docker/CI
images), set -e silently aborts the script with exit 127, blocking
the push with no message.1 parent 775f265 commit 97ea52b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments