diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 5b991fb8e..0c49d789b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,13 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: AllowForAlignment. -Style/ExtraSpacing: - Exclude: - - 'app/commands/stories/mark_feed_as_read.rb' - # Offense count: 1 # Configuration parameters: MinBodyLength. Style/GuardClause: diff --git a/app/commands/stories/mark_feed_as_read.rb b/app/commands/stories/mark_feed_as_read.rb index 13894162e..035f50e1d 100644 --- a/app/commands/stories/mark_feed_as_read.rb +++ b/app/commands/stories/mark_feed_as_read.rb @@ -2,7 +2,7 @@ class MarkFeedAsRead def initialize(feed_id, timestamp, repository = StoryRepository) - @feed_id = feed_id.to_i + @feed_id = feed_id.to_i @repo = repository @timestamp = timestamp end