mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 13:06:31 +00: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…
Reference in New Issue
Block a user