mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
f31e5458d1
@ -6,7 +6,12 @@ async function getStoragePluginNames(target) {
|
||||
const items = await readdir(target);
|
||||
for (const item of items) {
|
||||
if (item.startsWith('@')) {
|
||||
const children = await getStoragePluginNames(resolve(target, item));
|
||||
const dirPath = resolve(target, item);
|
||||
const s = await stat(dirPath);
|
||||
if (!s.isDirectory()) {
|
||||
continue;
|
||||
}
|
||||
const children = await getStoragePluginNames(dirPath);
|
||||
plugins.push(
|
||||
...children.map((child) => {
|
||||
return `${item}/${child}`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user