Skip to content

Commit b21e6cf

Browse files
Update hooks/post-review-context.mjs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 2f3bb93 commit b21e6cf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

hooks/post-review-context.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ function isCodeRabbitReviewCommand(command) {
3535
if (typeof command !== "string") {
3636
return false;
3737
}
38-
3938
const argv = tokenizeSimpleCommand(command);
40-
if (!argv) {
39+
if (!argv || argv.length === 0) {
4140
return false;
4241
}
4342

0 commit comments

Comments
 (0)