Skip to content

Commit

Permalink
Merge pull request #9875 from alphagov/dependabot/bundler/rubocop-gov…
Browse files Browse the repository at this point in the history
…uk-5.0.8

Bump rubocop-govuk from 5.0.7 to 5.0.8
  • Loading branch information
ChrisBAshton authored Feb 4, 2025
2 parents e6e4499 + fc66ebc commit 651f840
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.2)
rubocop (1.69.2)
rubocop (1.70.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand All @@ -862,8 +862,8 @@ GEM
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-govuk (5.0.7)
rubocop (= 1.69.2)
rubocop-govuk (5.0.8)
rubocop (= 1.70.0)
rubocop-ast (= 1.37.0)
rubocop-capybara (= 2.21.0)
rubocop-rails (= 2.28.0)
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/admin/fact_check_requests_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def enforce_permissions!
def mailer_url_options
options = { host: request.host }
options[:protocol] = request.protocol unless request.protocol == "http://"
options[:port] = request.port unless request.port == 80 || request.port == 443
options[:port] = request.port unless [80, 443].include?(request.port)
options
end

Expand Down

0 comments on commit 651f840

Please sign in to comment.