Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

get output of command to output correct error code#5

Open
jeffreyfuchang wants to merge 2 commits intomasterfrom
get-output
Open

get output of command to output correct error code#5
jeffreyfuchang wants to merge 2 commits intomasterfrom
get-output

Conversation

@jeffreyfuchang
Copy link
Copy Markdown

No description provided.

Comment thread lib/deploy/utility.rb Outdated
exit_code = wait_thr.value.exitstatus
puts resp
puts err unless err.nil?
true unless resp.downcase.include?("error") || exist_code != 0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exist_code should be exit_code

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants