lib/danger/request_source/github.rb in danger-2.1.0 vs lib/danger/request_source/github.rb in danger-2.1.1

- old
+ new

@@ -182,10 +182,10 @@ end # @return [Bool] is this repo the danger repo of the org? def danger_repo?(organisation: nil, repository: nil) repo = fetch_repository(organisation: organisation, repository: repository) - repo[:name].casecmp(DANGER_REPO_NAME).zero? + repo[:name].casecmp(DANGER_REPO_NAME).zero? || repo[:parent] && repo[:parent][:full_name] == "danger/danger" rescue false end # @return [String] A URL to the specific file, ready to be downloaded