Sha256: d8f5f26e3dae71097d17b3d534bdca490e24241c38dc8c0494db755a6caa748f
Contents?: true
Size: 411 Bytes
Versions: 7
Compression:
Stored size: 411 Bytes
Contents
# coding: utf-8 require "danger/request_sources/github/github_review" module Danger module RequestSources module GitHubSource class ReviewResolver def self.should_submit?(review, body) return !same_body?(body, review.body) end def self.same_body?(body1, body2) return !body1.nil? && !body2.nil? && body1 == body2 end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems