Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Jul 19, 2024
1 parent 5a124e2 commit 32c6998
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3662,6 +3662,9 @@ function addDomainToShortMention(mention: string): string | undefined {

/**
* Replaces all valid short mention found in a text to a full mention
*
* Example:
* "Hello \@example -> Hello \@example\@expensify.com"
*/
function completeShortMention(text: string): string {
return text.replace(CONST.REGEX.SHORT_MENTION, (match) => {
Expand Down

0 comments on commit 32c6998

Please sign in to comment.