diff options
| author | Yordis Prieto <[email protected]> | 2025-08-03 15:50:08 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-03 15:50:08 -0400 |
| commit | c9187a9f3ab89ade99350dfc249edfd4d7332da6 (patch) | |
| tree | e7b7f56753711e71b21fecf7250f95ddf1a32f88 | |
| parent | 2c67b26b5da7b544bb06dd1c6a2a5851cc3ea019 (diff) | |
| download | opencode-c9187a9f3ab89ade99350dfc249edfd4d7332da6.tar.gz opencode-c9187a9f3ab89ade99350dfc249edfd4d7332da6.zip | |
chore: remove unnecessary TypeScript error suppression (#1571)
| -rw-r--r-- | packages/opencode/src/plugin/index.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/opencode/src/plugin/index.ts b/packages/opencode/src/plugin/index.ts index 59830aa54..4b38cb3bb 100644 --- a/packages/opencode/src/plugin/index.ts +++ b/packages/opencode/src/plugin/index.ts @@ -63,10 +63,8 @@ export namespace Plugin { if (!fn) return output const path = fn.split(".") for (const hook of await state().then((x) => x.hooks)) { - // @ts-expect-error const fn = pathOr(hook, path, undefined) if (!fn) continue - // @ts-expect-error await fn(input, output) } return output |
