lib/berkshelf/cli.rb in berkshelf-2.0.10 vs lib/berkshelf/cli.rb in berkshelf-2.0.11

- old
+ new

@@ -223,9 +223,10 @@ berksfile = ::Berkshelf::Berksfile.from_file(options[:berksfile]) upload_options = Hash[options.except(:no_freeze, :berksfile)].symbolize_keys upload_options[:cookbooks] = cookbook_names upload_options[:freeze] = false if options[:no_freeze] + upload_options[:validate] = false if options[:skip_syntax_check] berksfile.upload(upload_options) end method_option :berksfile,