Skip to content

Commit

Permalink
Fix deprecation warnings without Rails
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdunae committed Mar 11, 2024
1 parent ba31c38 commit 0306e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/validates_email_format_of.rb
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def self.deprecation_warn(msg)
if defined?(ActiveSupport::Deprecation)
ActiveSupport::Deprecation.warn(msg)
else
warn
warn(msg)
end
end
end
Expand Down

0 comments on commit 0306e4c

Please sign in to comment.