lib/danger/request_sources/github/github.rb in danger-6.0.9 vs lib/danger/request_sources/github/github.rb in danger-6.1.0
- old
+ new
@@ -274,10 +274,10 @@
body = generate_inline_comment_body("white_check_mark", violation, danger_id: danger_id, resolved: true, template: "github")
client.update_pull_request_comment(ci_source.repo_slug, comment["id"], body)
else
# We remove non-sticky violations that have no replies
# Since there's no direct concept of a reply in GH, we simply consider
- # the existance of non-danger comments in that line as replies
+ # the existence of non-danger comments in that line as replies
replies = non_danger_comments.select do |potential|
potential["path"] == comment["path"] &&
potential["position"] == comment["position"] &&
potential["commit_id"] == comment["commit_id"]
end