Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2025-02-10 04:27:43 +00:00
commit f31e5458d1

View File

@ -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}`;