-
Notifications
You must be signed in to change notification settings - Fork 449
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
Language plugins: Improve failure logging, update specs, general cleanup #805
Conversation
@mcquin & @chef/client-core This is ready for review |
…e sample output in code
languages[:go] = go if go[:version] | ||
end | ||
begin | ||
so = shell_out("go version") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(minor) Indenting too deep.
Looks good. Some minor feedback for style and consistency. Looks like the appveyor failure is incorrect, all specs passed. |
🚀 |
so = shell_out("go version") | ||
# Sample output: | ||
# go version go1.6.1 darwin/amd64 | ||
if so.exitstatus == 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these two if
s should be combined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's a bunch, but yeah I can fix those
some nits but 👍 |
it's a big change, but it's basically the same thing over and over again for each plugin