Skip to content

Commit

Permalink
Update severities
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjaustin committed Mar 29, 2024
1 parent 1947b7d commit a3f4320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rubocop/cop/cucumber/regex_step_name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RegexStepName < RuboCop::Cop::Base

def on_send(node)
regex_name(node) do |regex_node|
add_offense(regex_node)
add_offense(regex_node, severity: :refactor)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion rubocop/cop/migration/large_table_schema_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def on_class(node)
schema_changes(node).each do |change_node, table_name|
next unless large_tables.include?(table_name.to_s)

add_offense(change_node.loc.expression, message: format(MSG, table_name))
add_offense(change_node.loc.expression, message: format(MSG, table_name), severity: :warning)
end
end

Expand Down

0 comments on commit a3f4320

Please sign in to comment.