mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
Revert "feat(third_party) Port get-ripgrep." (#8923)
This commit is contained in:
@@ -21,9 +21,7 @@ import { execSync } from 'node:child_process';
|
||||
import { writeFileSync } from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
|
||||
if (
|
||||
!(process.cwd().includes('packages') || process.cwd().includes('third_party'))
|
||||
) {
|
||||
if (!process.cwd().includes('packages')) {
|
||||
console.error('must be invoked from a package directory');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
@@ -43,7 +43,6 @@ for (const workspace of rootPackageJson.workspaces) {
|
||||
for (const pkgPath of packages) {
|
||||
const pkgDir = dirname(join(root, pkgPath));
|
||||
rmSync(join(pkgDir, 'dist'), RMRF_OPTIONS);
|
||||
rmSync(join(pkgDir, 'tsconfig.tsbuildinfo'), RMRF_OPTIONS);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user