()
| 27 | |
| 28 | // procedure 1: search with ripgrep |
| 29 | export async function checkIfRipgrepIsInstalled(): Promise<boolean> { |
| 30 | try { |
| 31 | await execPromise("rg --version"); |
| 32 | return true; |
| 33 | } catch { |
| 34 | return false; |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | async function searchWithRipgrep( |
| 39 | pattern: string, |
no outgoing calls
no test coverage detected