()
| 17 | let pipeCounter = 0; |
| 18 | |
| 19 | export const getRandomPipe = () => |
| 20 | path.join( |
| 21 | namedSocketDirectory, |
| 22 | `node-cdp.${process.pid}-${randomBytes(4).toString('hex')}-${pipeCounter++}.sock`, |
| 23 | ); |
| 24 | |
| 25 | function pathExtensions(env: EnvironmentVars) { |
| 26 | if (process.platform !== 'win32') { |
no test coverage detected