(state)
| 378 | } |
| 379 | |
| 380 | function isPendingSolidify(state) { |
| 381 | const lastRun = state && state.last_run ? state.last_run : null; |
| 382 | const lastSolid = state && state.last_solidify ? state.last_solidify : null; |
| 383 | if (!lastRun || !lastRun.run_id) return false; |
| 384 | if (!lastSolid || !lastSolid.run_id) return true; |
| 385 | return String(lastSolid.run_id) !== String(lastRun.run_id); |
| 386 | } |
| 387 | |
| 388 | function parseMs(v, fallback) { |
| 389 | const n = parseInt(String(v == null ? '' : v), 10); |
no outgoing calls
no test coverage detected