(value, delim)
| 4 | import { delimiter, join } from "node:path"; |
| 5 | |
| 6 | function splitPathList(value, delim) { |
| 7 | return value |
| 8 | .split(delim) |
| 9 | .map((p) => p.trim().replace(/^"+|"+$/g, "")) |
| 10 | .filter(Boolean); |
| 11 | } |
| 12 | |
| 13 | function envHasLib(env, libName) { |
| 14 | if (process.platform !== "win32") return true; |