(env, libName)
| 11 | } |
| 12 | |
| 13 | function envHasLib(env, libName) { |
| 14 | if (process.platform !== "win32") return true; |
| 15 | const libPath = env.LIB; |
| 16 | if (typeof libPath !== "string" || libPath.length === 0) return false; |
| 17 | for (const dir of splitPathList(libPath, ";")) { |
| 18 | if (existsSync(join(dir, libName))) return true; |
| 19 | } |
| 20 | return false; |
| 21 | } |
| 22 | |
| 23 | function parseCmdSetOutput(output) { |
| 24 | const next = {}; |
no test coverage detected