fix(comment-checker): support args.path for OpenCode Write/Edit tools

This commit is contained in:
YeonGyu-Kim
2025-12-05 09:57:50 +09:00
parent d62f1dd207
commit 2ad7e193fd

View File

@@ -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) {