summaryrefslogtreecommitdiffhomepage
path: root/js/src/tool/grep.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-28 17:24:15 -0400
committerDax Raad <[email protected]>2025-05-28 17:24:21 -0400
commite88264075a8b67c46b57d13db8488f4f01e7f9f1 (patch)
tree74aeb70ee3625355ab5c0440451505ca10997a80 /js/src/tool/grep.ts
parent041a080a139a06402d9c0ce4d37622f9eb49e729 (diff)
downloadopencode-e88264075a8b67c46b57d13db8488f4f01e7f9f1.tar.gz
opencode-e88264075a8b67c46b57d13db8488f4f01e7f9f1.zip
sync
Diffstat (limited to 'js/src/tool/grep.ts')
-rw-r--r--js/src/tool/grep.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/tool/grep.ts b/js/src/tool/grep.ts
index 21f242244..d5c2d700c 100644
--- a/js/src/tool/grep.ts
+++ b/js/src/tool/grep.ts
@@ -1,9 +1,9 @@
import { z } from "zod";
import { Tool } from "./tool";
import { App } from "../app";
-import { spawn } from "node:child_process";
-import { promises as fs } from "node:fs";
-import path from "node:path";
+import { spawn } from "child_process";
+import { promises as fs } from "fs";
+import path from "path";
const DESCRIPTION = `Fast content search tool that finds files containing specific text or patterns, returning matching file paths sorted by modification time (newest first).