Skip to content

Commit

Permalink
no need for capture group
Browse files Browse the repository at this point in the history
  • Loading branch information
gcampbell-msft committed Jan 14, 2025
1 parent 6e2af63 commit 95a8fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const traverseJson = (jsonTree, descriptionCallback, prefixPath) => {

// remove invalid characters that aren't allowed in xlf.
const removeInvalidXLFCharacters = (str) => {
return str.replace(/(<)|(>)/g, "");
return str.replace(/<|>/g, "");
}

// Traverses schema json files looking for "description" fields to localized.
Expand Down

0 comments on commit 95a8fd5

Please sign in to comment.