Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kowalczyk-krzysztof committed Oct 16, 2024
1 parent 11c502d commit c61e511
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const convertMultiwordTypesToPhrasesAndTrimWhitespace = (
return term.replace(termReplaceRegex, (_, typeKeyword, whitespace, typeValue) => {
const trimmedTypeKeyword = `${typeKeyword}${whitespace.trim()}`;

// If the type value is already wrapped in quotes, leavy it as is
// If the type value is already wrapped in quotes, leave it as is
return /['"]/.test(typeValue)
? `${trimmedTypeKeyword}${typeValue}`
: `${trimmedTypeKeyword}"${typeValue}"`;
Expand Down

0 comments on commit c61e511

Please sign in to comment.