Commit 04f2864
committed
fix: Guard netlify-fetch against a failing branch listing
Review feedback (set -e at the top / pipefail): make runs every recipe
line in its own shell, so a leading set -e would only govern itself,
and the shell is sh, which has no pipefail - but the spirit of the
comment found a real gap: a failing ls-remote inside the command
substitution would have silently emptied the loop. The list is now
captured and checked explicitly, and set -eu replaces set -e.1 parent 5dc9fe0 commit 04f2864
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
0 commit comments