lib/card/set/i18n_scope.rb in card-1.101.2 vs lib/card/set/i18n_scope.rb in card-1.101.3
- old
+ new
@@ -78,10 +78,10 @@
#
#
def find_set_path backtrace
re = %r{(?<!card)/set/}
- backtrace.find { |line| line =~ re }.tap do |path|
+ backtrace.find { |line| line.match?(re) }.tap do |path|
return nil unless path
end
end
# # index of the mod part in the tmp path