From e2480c6e6342baefaa5a287fb106fdf60ac555ad Mon Sep 17 00:00:00 2001 From: luojiyin Date: Wed, 12 Aug 2026 00:04:30 +0800 Subject: [PATCH] fix: remove nested template push Fixes uBlockOrigin/uAssets#34063. --- tools/make-easylist.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make-easylist.mjs b/tools/make-easylist.mjs index dac3a857f92..ff004dc96a9 100644 --- a/tools/make-easylist.mjs +++ b/tools/make-easylist.mjs @@ -73,7 +73,7 @@ function expandTemplate(wd, parts) { if ( expandedParts.has(fpath) === false ) { console.info(` Inserting ${fpath}`); out.push( - out.push({ file: `${fpath}` }), + { file: fpath }, `! *** ${repo}:${fpath} ***`, fs.readFile(`${wd}/${fpath}`, { encoding: 'utf8' }) .then(text => fpath.includes('header') ? text : trim(text)),