opencode-agent[bot] 1 день назад
Родитель
Сommit
cbe702c09d
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      packages/opencode/src/file/ripgrep.ts

+ 5 - 1
packages/opencode/src/file/ripgrep.ts

@@ -275,7 +275,11 @@ export const layer: Layer.Layer<Service, never, AppFileSystem.Service | ChildPro
           }
         }
 
-        const extracted = path.join(dir, `ripgrep-${VERSION}-${config.platform}`, process.platform === "win32" ? "rg.exe" : "rg")
+        const extracted = path.join(
+          dir,
+          `ripgrep-${VERSION}-${config.platform}`,
+          process.platform === "win32" ? "rg.exe" : "rg",
+        )
         if (!(yield* fs.isFile(extracted))) {
           return yield* Effect.fail(new Error(`ripgrep archive did not contain executable: ${extracted}`))
         }