Fix lint and prettier

This commit is contained in:
David Corbitt
2023-07-18 11:11:20 -07:00
parent 374d0237ee
commit 999a4c08fa
4 changed files with 14 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ export function escapeQuotes(str: string) {
// Escape regex special characters
export function escapeRegExp(str: string) {
return str.replace(/[.*+\-?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
return str.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string
}
export function fillTemplate(template: string, variables: VariableMap): string {