Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
knife cookbook upload throws error undefined method `metadata' for nil:NilClass when try to upload any blank cookbook directory. #9010
knife cookbook upload throws error undefined method `metadata' for nil:NilClass when there is blank directory in the cookbooks directory.
Expectation: It should throw user friendly error.
Working with master branch.
Try to upload any blank cookbook from the chef repository