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

Don't run status command if API key is missing. #339

Merged
merged 1 commit into from
Jul 22, 2016
Merged

Don't run status command if API key is missing. #339

merged 1 commit into from
Jul 22, 2016

Conversation

ests
Copy link
Contributor

@ests ests commented Jul 22, 2016

Running exercism status ruby command when API is missing (f.i. I've deleted config file) will make actual HTTP request and cause PANIC: %!v(PANIC=runtime error: invalid memory address or nil pointer dereference). I believe it should behave in the same way like submit command (prevent any requests and print message).

@ests ests changed the title Don't run command if API key is missing. Don't run status command if API key is missing. Jul 22, 2016
@Tonkpils
Copy link
Contributor

Great, thanks for this!

@Tonkpils Tonkpils merged commit 2cdb318 into exercism:master Jul 22, 2016
@ests ests deleted the fix-panic-for-status-cmd branch July 22, 2016 16:52
This pull request was closed.
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.

2 participants