Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Removed unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
iavael committed May 3, 2015
1 parent c15f561 commit 5f1049e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/knife-solo/berkshelf.rb
Expand Up @@ -19,7 +19,7 @@ def install!
path = berkshelf_path
ui.msg "Installing Berkshelf cookbooks to '#{path}'..."

if defined?(::Berkshelf) && Gem::Version.new(::Berkshelf::VERSION) >= Gem::Version.new("3.0.0")
if Gem::Version.new(::Berkshelf::VERSION) >= Gem::Version.new("3.0.0")
berkshelf_options = KnifeSolo::Tools.config_value(config, :berkshelf_options) || {}
berksfile = ::Berkshelf::Berksfile.from_file('Berksfile',berkshelf_options)
else
Expand Down

0 comments on commit 5f1049e

Please sign in to comment.