lib/conflict_checker/plugin.rb in danger-conflict_checker-0.0.2 vs lib/conflict_checker/plugin.rb in danger-conflict_checker-0.0.3

- old
+ new

@@ -30,10 +30,10 @@ pull_requests = github.api.pull_requests(repo_name).select do |pr| pr[:id] != github.pr_json[:id] && pr[:base][:label] == github.pr_json[:base][:label] end - return if pull_requests.empty? + return check_results if pull_requests.empty? g = Git.open(Dir.pwd) pull_requests.each do |pr| result = {