mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
[Dev] Base finding modules on goosemodModule.json presence, not just base dirs
This commit is contained in:
parent
5277980278
commit
43bc7f4a45
1 changed files with 1 additions and 1 deletions
|
@ -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: [],
|
||||
|
|
Loading…
Reference in a new issue