Skip to content

Trim extra period when merge error displayed

Stan Hu requested to merge sh-trim-extra-periods-merge-error into master

When a merge error happens, previously the UI displayed two periods:

Merge failed: Failed to squash. Should be done manually.. Please try again.

This happened because the backend sent the error message:

Failed to squash. Should be done manually.

The frontend added an extra period. to avoid this issue, we now trim the period and add it in the sentence.

Before

image

After

image

Edited by Stan Hu

Merge request reports