Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow "incomplete" env_variable_switches to be merged #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JohnBernas
Copy link

Before, if some switch was missing either recipes, cookbook_paths or node_attributes, it would error out when merging, with one of the following errors:

  • no implicit conversion of nil into Array
  • undefined method `each_pair' for nil:NilClass

depending on the one missing.

Before, if some env_variable_switch was missing either recipes, cookbook_paths
or node_attributes, it would error out with one of the following:

- no implicit conversion of nil into Array
- undefined method `each_pair' for nil:NilClass

depending on the missing content.
@JohnBernas
Copy link
Author

Travis CI broke the build for some reason, I doubt is related to these changes though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant