(dataDir: string)
| 115 | }; |
| 116 | |
| 117 | const readManifest = (dataDir: string) => { |
| 118 | const path = localServerManifestPath(dataDir); |
| 119 | if (!existsSync(path)) return null; |
| 120 | return parseExecutorLocalServerManifest(readFileSync(path, "utf8")); |
| 121 | }; |
| 122 | |
| 123 | const removeManifestIfOwnedBy = (dataDir: string, pid: number) => { |
| 124 | const manifest = readManifest(dataDir); |
no test coverage detected