Skip to content

Commit d8ad833

Browse files
chore: generate
1 parent 7b44918 commit d8ad833

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/opencode/src/tool/registry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ export namespace ToolRegistry {
9292
if (matches.length) yield* config.waitForDependencies()
9393
for (const match of matches) {
9494
const namespace = path.basename(match, path.extname(match))
95-
const mod = yield* Effect.promise(() =>
96-
import(process.platform === "win32" ? match : pathToFileURL(match).href),
95+
const mod = yield* Effect.promise(
96+
() => import(process.platform === "win32" ? match : pathToFileURL(match).href),
9797
)
9898
for (const [id, def] of Object.entries<ToolDefinition>(mod)) {
9999
custom.push(fromPlugin(id === "default" ? namespace : `${namespace}_${id}`, def))

0 commit comments

Comments
 (0)