bin/chef-vault in chef-vault-4.0.12 vs bin/chef-vault in chef-vault-4.1.0
- old
+ new
@@ -77,10 +77,10 @@
options_config.each do |option, config|
raise OptionParser::MissingArgument, option if options[option].nil? && !config[:optional]
end
options_config.each do |option, config|
- options[option] = options[option] ? options[option] : config[:default]
+ options[option] = options[option] || config[:default]
end
require "rubygems" unless defined?(Gem)
$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require "chef-vault"