Skip to content

Commit a0cd358

Browse files
author
Fernando Basello
committed
bug: assure string method is breaking the content if the content has a string template literal.
closes #3
1 parent 0df83a6 commit a0cd358

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/stringValidator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const stringValidator = (param: any): any => {
1212

1313
// Handle strings - convert to template literals
1414
if (typeof param === 'string') {
15-
return `\`${param}\``;
15+
return `\"${param}\"`;
1616
}
1717

1818
// Handle arrays - process each element

0 commit comments

Comments
 (0)