GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(tui): resolve actual cwd when file listing fails · anomalyco/opencode@8c25ef1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/tui/src
    • app.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/tui/src/app.tsx‎

Copy file name to clipboardExpand all lines: packages/tui/src/app.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export const run = Effect.fn("Tui.run")(function* (input: TuiInput) {
225225
const api = OpenCode.make(options)
226226
const location = yield* Effect.tryPromise(() => api.file.list({ location: { directory: process.cwd() } })).pipe(
227227
Effect.map((response) => response.location),
228-
Effect.catch(() => Effect.tryPromise(() => api.location.get())),
228+
Effect.catch(() => Effect.tryPromise(() => api.location.get({ location: { directory: process.cwd() } }))),
229229
)
230230
const directory = location.directory
231231
const pluginDirectories = yield* Effect.promise(() => localPluginDirectories(process.cwd(), global.config))

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.