Skip to content

Commit

Permalink
More lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jfkthame authored and Archaeopteryx committed Nov 21, 2023
1 parent 1535b3a commit 092709f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/helpers/revision.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const parseAuthor = function parseAuthor(author) {
const name = userTokens[0]
.trim()
.replace(
/\p{General_Category=Letter}\S*/ug,
/\p{General_Category=Letter}\S*/gu,
(txt) => txt.charAt(0).toUpperCase() + txt.substr(1),
);
const email = userTokens.length > 1 ? userTokens[1] : '';
Expand Down

0 comments on commit 092709f

Please sign in to comment.