mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 06:59:26 +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);
|
const items = await readdir(target);
|
||||||
for (const item of items) {
|
for (const item of items) {
|
||||||
if (item.startsWith('@')) {
|
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(
|
plugins.push(
|
||||||
...children.map((child) => {
|
...children.map((child) => {
|
||||||
return `${item}/${child}`;
|
return `${item}/${child}`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user