Fix scripts build
This commit is contained in:
parent
69e9595db9
commit
f6dfcfbae9
@ -37,7 +37,10 @@ async function main() {
|
|||||||
const baseThemeDirPath = pathJoin(tmpDirPath, "base");
|
const baseThemeDirPath = pathJoin(tmpDirPath, "base");
|
||||||
const re = new RegExp(`^([^\\${pathSep}]+)\\${pathSep}messages\\${pathSep}messages_([^.]+).properties$`);
|
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);
|
const match = filePath.match(re);
|
||||||
|
|
||||||
if (match === null) {
|
if (match === null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user