Repository navigation
Commit f312657
committed
Extend missing-agent-dir guard to Linux and macOS cleanup paths
handleLinuxCleanup and handleMacosCleanup also did an unconditional writeFileSync
to a path inside the agent dir, throwing ENOENT when Pre-step crashed before
installing the agent (proven by integration test on synthetic-reject branch).
Mirror the same dir-existence check that handleWindowsCleanup already has.1 parent 0c7c518 commit f312657
3 files changed
Lines changed: 31 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32298 | 32298 | | |
32299 | 32299 | | |
32300 | 32300 | | |
| 32301 | + | |
| 32302 | + | |
| 32303 | + | |
| 32304 | + | |
| 32305 | + | |
| 32306 | + | |
32301 | 32307 | | |
32302 | 32308 | | |
32303 | 32309 | | |
| |||
32357 | 32363 | | |
32358 | 32364 | | |
32359 | 32365 | | |
| 32366 | + | |
| 32367 | + | |
| 32368 | + | |
| 32369 | + | |
| 32370 | + | |
| 32371 | + | |
32360 | 32372 | | |
32361 | 32373 | | |
32362 | 32374 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
125 | 134 | | |
126 | 135 | | |
127 | 136 | | |
| |||
193 | 202 | | |
194 | 203 | | |
195 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
196 | 214 | | |
197 | 215 | | |
198 | 216 | | |
| |||
0 commit comments