Fix readExtraPage

This commit is contained in:
Joseph Garrone 2024-06-25 22:51:07 +02:00
parent 910604fdad
commit dccd85a151

View File

@ -35,8 +35,8 @@ export function readExtraPagesNames(params: {
extraPages.push(
...Array.from(
rawSourceFile.matchAll(/["']?pageId["']?\s*:\s*["']([^.]+.ftl)["']/g),
m => m[1]
rawSourceFile.matchAll(/["']([^.\s]+.ftl)["']:/g),
m => (console.log(m), m[1])
)
);
}