(lockPath: string)
| 102 | } |
| 103 | |
| 104 | export function releaseDaemonLock(lockPath: string): void { |
| 105 | const existing = readLockInfo(lockPath); |
| 106 | if (existing && existing.pid !== process.pid) return; |
| 107 | try { |
| 108 | if (fs.existsSync(lockPath)) fs.unlinkSync(lockPath); |
| 109 | } catch {} |
| 110 | } |
| 111 | |
| 112 | export function parseIntegerEnv(raw: string | undefined): number | undefined { |
| 113 | if (raw === undefined) return undefined; |
no test coverage detected
searching dependent graphs…