Skip to content

Commit c80c2b9

Browse files
Apply suggested changes
Apply suggested changes
1 parent 741a1f0 commit c80c2b9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/common/src/utils/variables.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ export function replaceVariables(
8585
}: { modifier?: ((variable: unknown) => unknown) | undefined; trim?: boolean; keepTypeIfOnlyVariable?: boolean } = {}
8686
): string | unknown {
8787
const stringPhrase = typeof phrase === 'string' ? phrase : String(phrase ?? '');
88-
89-
const formattedPhrase = trim ? stringPhrase.trim() : stringPhrase;
88+
const formattedPhrase = trim ? stringPhrase.trim() : phrase;
9089

9190
if (!formattedPhrase) {
9291
return '';

0 commit comments

Comments
 (0)