mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-08 04:10:35 -07:00
feat(third_party) Port get-ripgrep. (#8514)
This commit is contained in:
@@ -21,7 +21,9 @@ import { execSync } from 'node:child_process';
|
||||
import { writeFileSync } from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
|
||||
if (!process.cwd().includes('packages')) {
|
||||
if (
|
||||
!(process.cwd().includes('packages') || process.cwd().includes('third_party'))
|
||||
) {
|
||||
console.error('must be invoked from a package directory');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user