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)) {
|
if (await fsExists(link)) {
|
||||||
await unlink(link);
|
await unlink(link);
|
||||||
}
|
}
|
||||||
await symlink(resolve(storagePluginsPath, pluginName), link);
|
await symlink(resolve(storagePluginsPath, pluginName), link, 'dir');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user