(filePath: string)
| 49 | } |
| 50 | |
| 51 | async function pathExists(filePath: string): Promise<boolean> { |
| 52 | try { |
| 53 | await fs.stat(filePath); |
| 54 | return true; |
| 55 | } catch { |
| 56 | return false; |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | function countStaleStepUpdates(logContents: string, stepId: string): number { |
| 61 | return logContents.split("\n").reduce((count, line) => { |
no test coverage detected