Skip to content

Commit

Permalink
fix: plugin symbol link with dir type (nocobase#2640)
Browse files Browse the repository at this point in the history
  • Loading branch information
dream2023 authored Sep 13, 2023
1 parent de8fc80 commit a564f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/utils/plugin-symlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a564f78

Please sign in to comment.