Skip to content

Commit 8337b70

Browse files
committed
Fix warning issued by AS log subscriber 7.1 and make bold again
1 parent 3f91fb0 commit 8337b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rom/sql/extensions/rails_log_subscriber.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class RailsLogSubscriber < ActiveSupport::LogSubscriber
1414
end
1515

1616
COLOR_OPTION =
17-
if as_version && as_version >= ::Gem::Version.new('7.2')
18-
{ color: true }
17+
if as_version && as_version >= ::Gem::Version.new('7.1.2')
18+
{ bold: true }
1919
else
2020
true
2121
end

0 commit comments

Comments
 (0)