mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix: plugin symbol link with dir
type (#2640)
This commit is contained in:
parent
de8fc8079a
commit
a564f78872
@ -45,7 +45,7 @@ async function createStoragePluginSymLink(pluginName) {
|
||||
if (await fsExists(link)) {
|
||||
await unlink(link);
|
||||
}
|
||||
await symlink(resolve(storagePluginsPath, pluginName), link);
|
||||
await symlink(resolve(storagePluginsPath, pluginName), link, 'dir');
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user