chore: generate
This commit is contained in:
@@ -108,7 +108,9 @@ export const RepoOverviewTool = Tool.define<typeof Parameters, Metadata, AppFile
|
|||||||
params: Schema.Schema.Type<typeof Parameters>,
|
params: Schema.Schema.Type<typeof Parameters>,
|
||||||
) {
|
) {
|
||||||
if (params.path) {
|
if (params.path) {
|
||||||
const full = path.isAbsolute(params.path) ? params.path : path.resolve(yield* InstanceState.directory, params.path)
|
const full = path.isAbsolute(params.path)
|
||||||
|
? params.path
|
||||||
|
: path.resolve(yield* InstanceState.directory, params.path)
|
||||||
return { path: full, repository: params.repository }
|
return { path: full, repository: params.repository }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user