Commit 008efc8
authored
[runner] Check if repo dir exists before chown (#3589)
The check is added to avoid the following log message when
no repo specified or the repo is empty:
> Error while walking repo dir path=/workflow err=lstat /workflow:
> no such file or directory
In addition, walk/chown errors log level is changed to warning to
highlight possible issues.1 parent 5fd6545 commit 008efc8
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
239 | 249 | | |
240 | 250 | | |
241 | 251 | | |
242 | | - | |
243 | 252 | | |
244 | | - | |
| 253 | + | |
245 | 254 | | |
246 | 255 | | |
247 | 256 | | |
248 | | - | |
| 257 | + | |
249 | 258 | | |
250 | 259 | | |
251 | 260 | | |
| |||
0 commit comments