Skip to content

Commit 727a83a

Browse files
chore: generate
1 parent e653838 commit 727a83a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

β€Žpackages/opencode/src/tool/repo_overview.tsβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ export const RepoOverviewTool = Tool.define<typeof Parameters, Metadata, AppFile
108108
params: Schema.Schema.Type<typeof Parameters>,
109109
) {
110110
if (params.path) {
111-
const full = path.isAbsolute(params.path) ? params.path : path.resolve(yield* InstanceState.directory, params.path)
111+
const full = path.isAbsolute(params.path)
112+
? params.path
113+
: path.resolve(yield* InstanceState.directory, params.path)
112114
return { path: full, repository: params.repository }
113115
}
114116

0 commit comments

Comments
 (0)