Skip to content

Commit 710465f

Browse files
committed
Merge branch '3552-deprecate-3.6' into 3588-deprecate-4.0
2 parents d84d2c9 + c32a07f commit 710465f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/mongo/deprecations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def warned_features(reset: false)
8181
# @return [ true | false ] If a warning has already been issued.
8282
def _warned?(feature, prefix: false)
8383
if prefix
84-
warned_features.any? { |f| feature.to_s.start_with?(f) }
84+
warned_features.any? { |f| f.to_s.start_with?(feature) }
8585
else
8686
warned_features.include?(feature.to_s)
8787
end

0 commit comments

Comments
 (0)