-
-
Notifications
You must be signed in to change notification settings - Fork 409
cli: fix SOPEL_CONFIG env var broken usage #1882
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
Conversation
|
Travis doesn't report it, but the tests pass. https://travis-ci.org/github/sopel-irc/sopel/builds/693891907 |
dgw
left a comment
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.
Travis failing to send updates about build status back to GitHub happens sometimes. Wait a bit, fix these typos, and update the branch to make it try again. 😝
Could also be a good time to split testing the color stuff in cli.utils into a separate commit (not PR) if you're up for it. Lumping that in feels a bit odd, though everything else seems pretty interrelated.
Oh right, I started this PR as "let's add some tests", and then I found this bug and fixed it. So it's an artefact of that process. Will see what I can do with that. |
419a54b to
d3b9a93
Compare
|
I split the commits as expected! Let's hope Travis will dutifully report its results now. |
dgw
left a comment
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.
Looks good, but Travis never reported status even though the whole build passed. :|
|
Don't remember if this was the first or second time Travis broke recently, but it's fixed now. Merge time. |
Description
The code around config loading for command lines didn't work properly: it ignored the
SOPEL_CONFIGenv var. So I fixed it, and added some tests too.Its usage is now documented in the help message for the
-c/--configoption.Checklist
make qa(runsmake qualityandmake test)