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 say nothing to no GitHub connections #416

Merged
merged 3 commits into from
Jul 14, 2022
Merged

Conversation

AndrewFerr
Copy link
Member

joining an array of empty strings with a non-empty separator makes the resulting string truthy, thus the condition for printing "No Github bridges" was never met.

Allow the message of "No GitHub bridges" to be sent.

Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io>
@AndrewFerr AndrewFerr requested a review from Half-Shot July 14, 2022 13:49
Copy link
Contributor

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

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

Nice catch!

@AndrewFerr AndrewFerr merged commit eac6819 into main Jul 14, 2022
@AndrewFerr AndrewFerr deleted the af/no-gh-bridges-msg branch July 14, 2022 13:55
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