diff --git a/src/hooks/comment-checker/index.ts b/src/hooks/comment-checker/index.ts index c40c444..5182a9c 100644 --- a/src/hooks/comment-checker/index.ts +++ b/src/hooks/comment-checker/index.ts @@ -28,7 +28,7 @@ export function createCommentCheckerHooks() { 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 if (!filePath) {