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

Fix formatting of email and circle shares #10224

Merged
merged 1 commit into from
Jul 13, 2018

Conversation

danxuliu
Copy link
Member

This pull request fixes a regression introduced in #9895

Due to a misplaced || instead of === the condition was always met, so every share type in the conditional chain after the remote and remote group shares was formatted as a remote/remote group share.

I have not added unit tests for formatting circle shares; they are included in #5280

Due to a misplaced "||" instead of "===" the condition was always met,
so every share type in the conditional chain after the remote and remote
group shares was formatted as a remote/remote group share.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

🙈

good catch!

@MorrisJobke MorrisJobke merged commit f2b92c4 into master Jul 13, 2018
@MorrisJobke MorrisJobke deleted the fix-formatting-of-email-and-circle-shares branch July 13, 2018 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants