Skip to content

Commit

Permalink
Surpressing double warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Oct 12, 2023
1 parent aa0c416 commit da8a2d2
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 @@ -113,7 +113,7 @@ def self.build_message(gem)

class LoadError
def message
if Gem::BUNDLED_GEMS::SINCE[path]
if Gem::BUNDLED_GEMS::SINCE[path] && !Gem::BUNDLED_GEMS::WARNED[path]
warn path + Gem::BUNDLED_GEMS.build_message(path)
end
super
Expand Down

0 comments on commit da8a2d2

Please sign in to comment.