refactor(ripgrep): use embedded wasm backend (#21703)

This commit is contained in:
Shoubhit Dash
2026-04-14 11:56:23 +05:30
committed by GitHub
parent 9b2648dd57
commit d6840868d4
15 changed files with 868 additions and 577 deletions

View File

@@ -32,18 +32,18 @@ const ctx = {
ask: () => Effect.void,
}
const projectRoot = path.join(__dirname, "../..")
const root = path.join(__dirname, "../..")
describe("tool.grep", () => {
it.live("basic search", () =>
Effect.gen(function* () {
const info = yield* GrepTool
const grep = yield* info.init()
const result = yield* provideInstance(projectRoot)(
const result = yield* provideInstance(root)(
grep.execute(
{
pattern: "export",
path: path.join(projectRoot, "src/tool"),
path: path.join(root, "src/tool"),
include: "*.ts",
},
ctx,