[Dev] Base finding modules on goosemodModule.json presence, not just base dirs

This commit is contained in:
Ducko 2021-03-09 17:43:09 +00:00 committed by フズキ
parent 5277980278
commit 43bc7f4a45
No known key found for this signature in database
GPG Key ID: AD7750AB4625F1DD
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ const build = async () => {
resetDir(distDir);
resetDir(modulesDir);
const modules = glob.sync(`${tempDir}/*`);
const modules = glob.sync(`${tempDir}/**/goosemodModule.json`).map((x) => x.split('/').slice(0, -1).join('/'));
const jsonOut = {
modules: [],