()
| 418 | } |
| 419 | |
| 420 | const waitOnMaybe = () => { |
| 421 | const waitOn = core.getInput('wait-on') |
| 422 | if (!waitOn) { |
| 423 | return |
| 424 | } |
| 425 | |
| 426 | const waitOnTimeout = core.getInput('wait-on-timeout') || '60' |
| 427 | const timeoutSeconds = parseFloat(waitOnTimeout) |
| 428 | |
| 429 | if (isUrl(waitOn)) { |
| 430 | return waitOnUrl(waitOn, timeoutSeconds) |
| 431 | } |
| 432 | |
| 433 | console.log('Waiting using command "%s"', waitOn) |
| 434 | return execCommand(waitOn, true) |
| 435 | } |
| 436 | |
| 437 | const I = (x) => x |
| 438 |
nothing calls this directly
no test coverage detected