Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Revert "Remove now unused method"
Browse files Browse the repository at this point in the history
This reverts commit 3a2d2f0.
  • Loading branch information
deivid-rodriguez committed Aug 26, 2019
1 parent 31414dd commit 13cef81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/bundler/definition.rb
Expand Up @@ -518,6 +518,10 @@ def remove_platform(platform)
raise InvalidOption, "Unable to remove the platform `#{platform}` since the only platforms are #{@platforms.join ", "}"
end

def add_current_platform
current_platforms.each {|platform| add_platform(platform) }
end

def find_resolved_spec(current_spec)
specs.find_by_name_and_platform(current_spec.name, current_spec.platform)
end
Expand Down

0 comments on commit 13cef81

Please sign in to comment.