Skip to content

Commit

Permalink
fix: remove async for now
Browse files Browse the repository at this point in the history
  • Loading branch information
learosema committed Oct 9, 2024
1 parent e73bc2c commit c0f4c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transforms/template-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function parseFilterExpression(expr, ctx) {
* @param {string} str the template content
* @returns {(data: any, filters: Map<string, function>) => string} a function that takes a data object and returns the processed template
*/
export async function template(str) {
export function template(str) {
const defaultFilters = new Map();
let isSafe = false;
defaultFilters.set('safe', (input) => { isSafe = true; return input; })
Expand Down

0 comments on commit c0f4c95

Please sign in to comment.