Skip to content

Commit

Permalink
Fix rubocop warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cilim committed Aug 8, 2024
1 parent e4a4299 commit cc6990d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ inherit_gem:
rubocop-infinum: rubocop.yml

require: rubocop-infinum

Style/FrozenStringLiteralComment:
Exclude:
- 'bin/*'
2 changes: 1 addition & 1 deletion app/domains/chart/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def map_days
end
end

def outdated_gem_count(time)
def outdated_gem_count(time) # rubocop:disable Metrics/AbcSize
count = 0
parser.specs.each do |gem_specification|
gem = Rubygem.find_by(name: gem_specification.name)
Expand Down
4 changes: 2 additions & 2 deletions bin/importmap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby

require_relative "../config/application"
require "importmap/commands"
require_relative '../config/application'
require 'importmap/commands'

0 comments on commit cc6990d

Please sign in to comment.