From f6dfcfbae98d3f0c63763e056897b0fd82462d5b Mon Sep 17 00:00:00 2001 From: garronej Date: Wed, 21 Jun 2023 04:00:28 +0200 Subject: [PATCH] Fix scripts build --- scripts/generate-i18n-messages.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/generate-i18n-messages.ts b/scripts/generate-i18n-messages.ts index 59df88f8..3a8adcee 100644 --- a/scripts/generate-i18n-messages.ts +++ b/scripts/generate-i18n-messages.ts @@ -37,7 +37,10 @@ async function main() { const baseThemeDirPath = pathJoin(tmpDirPath, "base"); const re = new RegExp(`^([^\\${pathSep}]+)\\${pathSep}messages\\${pathSep}messages_([^.]+).properties$`); - crawl(baseThemeDirPath).forEach(filePath => { + crawl({ + "dirPath": baseThemeDirPath, + "returnedPathsType": "relative to dirPath" + }).forEach(filePath => { const match = filePath.match(re); if (match === null) {