Commit ccc77c4
committed
fix(ci): handle missing server log files in cleanup steps
When aw-server-rust doesn't produce log files (e.g. logs go to
stdout/stderr instead of files), the glob pattern in the cleanup
steps fails because bash treats unmatched globs as literal strings.
Fix: use `shopt -s nullglob` so unmatched globs expand to nothing,
and switch `mv` to a for-loop that handles the empty case.
This was causing false CI failures on the "aw-server-rust master"
test matrix entry for every PR.1 parent 1393ec6 commit ccc77c4
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
192 | | - | |
| 193 | + | |
| 194 | + | |
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| |||
0 commit comments