lib/danger/ci_source/circle.rb in danger-0.8.3 vs lib/danger/ci_source/circle.rb in danger-0.8.4
- old
+ new
@@ -5,10 +5,9 @@
module Danger
module CISource
class CircleCI < CI
def self.validates?(env)
return false unless env["CIRCLE_BUILD_NUM"]
- return false unless env["CI_PULL_REQUEST"]
return false unless env["CIRCLE_PROJECT_USERNAME"]
return false unless env["CIRCLE_PROJECT_REPONAME"]
return true
end