fix(comment-checker): support args.path for OpenCode Write/Edit tools
This commit is contained in:
@@ -28,7 +28,7 @@ export function createCommentCheckerHooks() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const filePath = (output.args.filePath ?? output.args.file_path) as string | undefined
|
const filePath = (output.args.filePath ?? output.args.file_path ?? output.args.path) as string | undefined
|
||||||
const content = output.args.content as string | undefined
|
const content = output.args.content as string | undefined
|
||||||
|
|
||||||
if (!filePath) {
|
if (!filePath) {
|
||||||
|
|||||||
Reference in New Issue
Block a user