(ownerFilePath: string)
| 93 | } |
| 94 | |
| 95 | function readProcessLockOwner(ownerFilePath: string): ProcessLockOwner | null { |
| 96 | try { |
| 97 | return JSON.parse(fs.readFileSync(ownerFilePath, 'utf8')) as ProcessLockOwner; |
| 98 | } catch { |
| 99 | return null; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | function readProcessLockDiagnostics( |
| 104 | lockDirPath: string, |
no test coverage detected