From dd71723a95eed5235903ff889e7e79518cded416 Mon Sep 17 00:00:00 2001 From: bedi gupta Date: Fri, 11 Oct 2024 09:34:45 +0530 Subject: [PATCH] using nested template literals --- apps/nunjucks-filters/src/customFilters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nunjucks-filters/src/customFilters.js b/apps/nunjucks-filters/src/customFilters.js index 83ef06fbb..77c4185b1 100644 --- a/apps/nunjucks-filters/src/customFilters.js +++ b/apps/nunjucks-filters/src/customFilters.js @@ -150,7 +150,7 @@ function docline(field, fieldName, scopePropName) { const getPName = (pName) => pName ? `${pName}.` : ''; const buildLineCore = (type, def, pName, fName) => { - return `* @param {${type}} ${pName}${fName}${def !== undefined ? `=${def}` : ''}`; + return `* @param {${type}} ${pName}${fName}${def !== undefined ? '=' + def : ''}`; }; const buildLine = (f, fName, pName) => {