Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
VladLasitsa committed Feb 18, 2021
1 parent 98045d8 commit 2eb33dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function replaceVars(str, args = {}, vars = {}) {
// we need add '[]' for emptyLabel because this value contains special characters. (https://handlebarsjs.com/guide/expressions.html#literal-segments)
const template = handlebars.compile(str.replace(emptyLabel, `[${emptyLabel}]`), {
strict: true,
knownHelpersOnly: true
knownHelpersOnly: true,
});

const string = template(_.assign({}, vars, { args }));
Expand Down

0 comments on commit 2eb33dc

Please sign in to comment.