diff --git a/tooling/danger/product_intelligence.rb b/tooling/danger/product_intelligence.rb index c74073991d273fd4cf4f7720a819e1a100aafc6d..6185b2f0d08603ec5785a331124d48cc22509e2f 100644 --- a/tooling/danger/product_intelligence.rb +++ b/tooling/danger/product_intelligence.rb @@ -13,7 +13,7 @@ module ProductIntelligence ].freeze def missing_labels - return [] if !helper.ci? + return [] unless helper.ci? labels = [] labels << 'product intelligence' unless helper.mr_has_labels?('product intelligence')