mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: module build
This commit is contained in:
@@ -204,10 +204,11 @@ async function getModuleList() {
|
||||
};
|
||||
});
|
||||
|
||||
moduleFiles.concat(mods).forEach(function (mod) {
|
||||
mod.filename = path.relative(basePath, mod.srcPath).replace(/\\/g, '/');
|
||||
});
|
||||
moduleFiles.push(...mods);
|
||||
}));
|
||||
moduleFiles.forEach(function (mod) {
|
||||
mod.filename = path.relative(basePath, mod.srcPath).replace(/\\/g, '/');
|
||||
});
|
||||
return moduleFiles;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user