FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: fix typescript issues · petebytes/opencode@f7e8dd2 · GitHub

Commit f7e8dd2

Browse files
committed
chore: fix typescript issues
1 parent 40b1dd7 commit f7e8dd2

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎packages/opencode/src/server/server.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Message } from "../session/message"
1010
import { Provider } from "../provider/provider"
1111
import { App } from "../app/app"
1212
import { Global } from "../global"
13-
import { filter, mapValues } from "remeda"
13+
import { mapValues } from "remeda"
1414
import { NamedError } from "../util/error"
1515
import { ModelsDev } from "../provider/models"
1616
import { Ripgrep } from "../external/ripgrep"

‎packages/opencode/src/session/system.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export namespace SystemPrompt {
2525
export async function environment() {
2626
const app = App.info()
2727

28-
const tree = async () => {
28+
;async () => {
2929
const files = await Ripgrep.files({
3030
cwd: app.path.cwd,
3131
})

‎packages/opencode/src/util/error.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { z, type ZodSchema } from "zod"
2-
import { Log } from "./log"
2+
// import { Log } from "./log"
33

4-
const log = Log.create()
4+
// const log = Log.create()
55

66
export abstract class NamedError extends Error {
77
abstract schema(): ZodSchema

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL