Skip to content

Allow "incomplete" env_variable_switches to be merged - #37

Open
JohnBernas wants to merge 1 commit into
mkocher:masterfrom
JohnBernas:error-merging-incomplete-env_variable_switches
Open

Allow "incomplete" env_variable_switches to be merged#37
JohnBernas wants to merge 1 commit into
mkocher:masterfrom
JohnBernas:error-merging-incomplete-env_variable_switches

Conversation

@JohnBernas

Copy link
Copy Markdown

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
Copy Markdown
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