Commit 0b29a5f
authored
fix(hooks): guard strings/cat against set -e abort in pre-push (#59)
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 0396fda commit 0b29a5f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments