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

PR #216 Breaks having multiple cookbook paths #221

Open
rabidscorpio opened this issue Mar 14, 2018 · 1 comment
Open

PR #216 Breaks having multiple cookbook paths #221

rabidscorpio opened this issue Mar 14, 2018 · 1 comment

Comments

@rabidscorpio
Copy link

#216 actually breaks having multiple paths set in cookbook_path when there's no environment_path set. It also makes the documentation obsolete: https://github.com/jonlives/knife-spork#environment-path.

What ends up happing is the cookbook paths are concatenated together before appending the name of the <environment>.json file.

@jonlives
Copy link
Owner

That's..unexpected! The only time it should look at the cookbook path is when it calls the cookbook_path method which always takes the first element of the array - are you able to determine which branch of the if statement you're hitting that cause that to happen by any chance?

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

No branches or pull requests

2 participants