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) {