summaryrefslogtreecommitdiffhomepage
path: root/js/src/tool/grep.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-26 21:44:55 -0400
committerDax Raad <[email protected]>2025-05-26 21:44:55 -0400
commitb840a4075956f00d0c46c82b19da24d984dddd07 (patch)
tree2fa94553d382baebf2d193e2b6d6e03f365f5326 /js/src/tool/grep.ts
parenta1d40f8f28a7fcb6ff3362a21a177418d76fbe95 (diff)
downloadopencode-b840a4075956f00d0c46c82b19da24d984dddd07.tar.gz
opencode-b840a4075956f00d0c46c82b19da24d984dddd07.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 ff5dbdc64..9c3754ce9 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 "child_process";
-import { promises as fs } from "fs";
-import path from "path";
+import { spawn } from "node:child_process";
+import { promises as fs } from "node:fs";
+import path from "node: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).