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

Return the proper exit code from the DNS Check #169

Merged
merged 1 commit into from
Aug 12, 2015
Merged

Conversation

benbalter
Copy link
Contributor

This would allow users to call github-pages health-check as part of CI and receive the proper exit code.

@benbalter benbalter self-assigned this Aug 12, 2015
benbalter added a commit that referenced this pull request Aug 12, 2015
Return the proper exit code from the DNS Check
@benbalter benbalter merged commit 2a97d4e into master Aug 12, 2015
@benbalter benbalter deleted the dns-error branch August 12, 2015 16:25
else
puts "Uh oh. Looks like something's fishy: #{check.reason}"
exit 1
Copy link
Contributor

Choose a reason for hiding this comment

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

You might consider abort "Uh oh." as a means of consolidating these two lines :)

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.

None yet

2 participants