()
| 94 | // --- Paths --- |
| 95 | |
| 96 | function getVendorDir() { |
| 97 | if (existsSync(path.join(projectRoot, 'src'))) { |
| 98 | return path.resolve(projectRoot, 'src', 'utils', 'vendor', 'ripgrep') |
| 99 | } |
| 100 | return path.resolve(projectRoot, 'dist', 'vendor', 'ripgrep') |
| 101 | } |
| 102 | |
| 103 | function getBinaryPath() { |
| 104 | const dir = getVendorDir() |
no test coverage detected