Skip to content

Commit

Permalink
Add one more bad example
Browse files Browse the repository at this point in the history
  • Loading branch information
j-sm-n committed Nov 21, 2023
1 parent edcf985 commit c6139b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rubocop/cop/ezcater/feature_flag_active.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module Ezcater
# EzFF.active?(defined_flag_name_var)
# EzFF.active?(@flag_name_ivar)
# EzFF.active?(:symbol_name, tracking_id: "brand:12345")
# EzFF.active?(123, identifiers: ["user:12345"])

class FeatureFlagActive < Cop
MSG = "`EzFF.active?` must be called with at least one of `tracking_id` or `identifiers`"
Expand Down

0 comments on commit c6139b5

Please sign in to comment.