(version, dir)
| 80 | } |
| 81 | |
| 82 | async function installExe(version, dir) { |
| 83 | const { body } = await download( |
| 84 | `${DIST}/${version}/win-${process.arch}/${NODE_BINARY}` |
| 85 | ); |
| 86 | await pipeline(body, createWriteStream(path.join(dir, NODE_BINARY))); |
| 87 | } |
| 88 | |
| 89 | async function installTarball(version, dir) { |
| 90 | const name = `node-${version}-${process.platform}-${process.arch}`; |
nothing calls this directly
no test coverage detected