()
| 101 | } |
| 102 | |
| 103 | function getBinaryPath() { |
| 104 | const dir = getVendorDir() |
| 105 | const subdir = `${process.arch}-${process.platform}` |
| 106 | const binary = process.platform === 'win32' ? 'rg.exe' : 'rg' |
| 107 | return path.resolve(dir, subdir, binary) |
| 108 | } |
| 109 | |
| 110 | // --- Download helpers --- |
| 111 |
no test coverage detected