Skip to content

Commit 3790901

Browse files
committed
Fix deprecation warnings without Rails
1 parent 333f466 commit 3790901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/validates_email_format_of.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def self.deprecation_warn(msg)
299299
if defined?(ActiveSupport::Deprecation)
300300
ActiveSupport::Deprecation.warn(msg)
301301
else
302-
warn
302+
warn(msg)
303303
end
304304
end
305305
end

0 commit comments

Comments
 (0)