(password: string)
| 125 | } catch { |
| 126 | return await new Promise((resolve) => { |
| 127 | const socket = net.createConnection({ host: "127.0.0.1", port }); |
| 128 | const finish = (inUse: boolean) => { |
| 129 | socket.destroy(); |
| 130 | resolve({ |
| 131 | inUse, |
| 132 | ...(inUse ? { processInfo: "端口被占用 (无法获取进程信息)" } : {}), |
no outgoing calls
no test coverage detected