Skip to content

Commit e7ccbf3

Browse files
committed
Fix ruby 3.4 frozen string literal warnings
1 parent 5b28b60 commit e7ccbf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/helpers/ndr_error/errors_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def downstream_fingerprint_link(print)
5959
def ticket_link_for(fingerprint, small = false) # rubocop:disable Style/OptionalBooleanParameter
6060
text = bootstrap_icon_tag('asterisk', :bi) + ' View ticket' # rubocop:disable Style/StringConcatenation
6161
css = 'btn btn-outline-secondary'
62-
css << ' btn-xs' if small
62+
css += ' btn-xs' if small
6363

6464
url = fingerprint.ticket_url
6565
link_to(text, /^http/i =~ url ? url : "http://#{url}", class: css)
@@ -87,7 +87,7 @@ def purge_button_for(fingerprint)
8787

8888
def previous_button_for(error)
8989
css = 'btn btn-outline-secondary'
90-
css << ' disabled' if error.nil?
90+
css += ' disabled' if error.nil?
9191
text = bootstrap_icon_tag('chevron-left', :bi)
9292
path = error.nil? ? '#' : error_fingerprint_path(error.error_fingerprint, log_id: error)
9393

0 commit comments

Comments
 (0)