Skip to content

Fix formatting of email and circle shares - #10224

Merged
MorrisJobke merged 1 commit into
masterfrom
fix-formatting-of-email-and-circle-shares
Jul 13, 2018
Merged

Fix formatting of email and circle shares#10224
MorrisJobke merged 1 commit into
masterfrom
fix-formatting-of-email-and-circle-shares

Conversation

@danxuliu

Copy link
Copy Markdown
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 <danxuliu@gmail.com>

@rullzerrullzer left a comment

Copy link
Copy Markdown
Member

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 masterJul 13, 2018
@MorrisJobke
MorrisJobke deleted the fix-formatting-of-email-and-circle-shares branch July 13, 2018 12:57
Sign up for freeto 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

@danxuliu@rullzer@MorrisJobke