summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@chef.io>2020-01-27 11:29:25 -0800
committerGitHub <noreply@github.com>2020-01-27 11:29:25 -0800
commit9a6fd595a9e3380af073b211c90b79d87020e74f (patch)
tree9c0a656b4c84ce84b1c644c1a90db9571c9e5b80
parent0490d07bd5816e0eb1acf6ff5075f7d8395527ea (diff)
parent9e511ec4c6f2ed77faf2daa41591db51d14b8ec8 (diff)
downloadchef-9a6fd595a9e3380af073b211c90b79d87020e74f.tar.gz
berks upload skip syntax check fixes (#9281)
berks upload skip syntax check fixes
-rw-r--r--lib/chef/cookbook_uploader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook_uploader.rb b/lib/chef/cookbook_uploader.rb
index b9d4bfe5d1..816cbf95fe 100644
--- a/lib/chef/cookbook_uploader.rb
+++ b/lib/chef/cookbook_uploader.rb
@@ -47,7 +47,7 @@ class Chef
def upload_cookbooks
# Syntax Check
- validate_cookbooks
+ validate_cookbooks unless opts[:skip_syntax_check]
# generate checksums of cookbook files and create a sandbox
checksum_files = {}
cookbooks.each do |cb|