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
improvement: Simplify checks #570
Conversation
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.
Thanks for implementing a fix, could you ensure that the test covers your changes.
Hi @jackton1! Since last week GitHub started offering a way to clone only the main branch by default. Do you think this could be the reason the test failed? Thank you! |
@thyarles Yes I believe that’s the problem. |
@all-contributors please add @thyarles for code. |
I've put up a pull request to add @thyarles! 🎉 |
Hi @jackton1, Thanks for accepting my PR. I have more few improvisations on the bash. Should I do it and suggest as well? |
Hi @thyarles, Sure you can create a new Pull Request and I'll be happy to review it. |
Just pointing that the
&&
and||
onbash
are not equivalent to theif ... then ... else
, as you can get more details here.You can simplify the way to save the
exit_status
from thisto this
Thanks!