mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
fix(gh): only skip empty comment reviews. Closes #2445
This commit is contained in:
parent
913379ccd2
commit
1848d74e7c
1 changed files with 1 additions and 1 deletions
|
|
@ -542,7 +542,7 @@ function M.review(review, level, ctx)
|
|||
return not ctx.comment_skip[c.id]
|
||||
end, review.comments or {})
|
||||
|
||||
if #comments == 0 and (not review.body or review.body:match("^%s*$")) then
|
||||
if #comments == 0 and review.state == "COMMENTED" and (not review.body or review.body:match("^%s*$")) then
|
||||
return ret
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue