Skip to content

Commit

Permalink
Ignore warnings on the bundled gems repo
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Mar 27, 2024
1 parent 66a0e8b commit 2f5b04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundled_gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def self.warning?(name, specs: nil)
return if specs.include?(gem)
caller = caller_locations(3, 3).find {|c| c&.absolute_path}
return if find_gem(caller&.absolute_path)
elsif SINCE[name]
elsif SINCE[name] && !path
gem = true
else
return
Expand Down

0 comments on commit 2f5b04e

Please sign in to comment.