mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 11:46:46 +00:00
fix: symlink dir
This commit is contained in:
parent
10e0f6ec1f
commit
1b2c67fea7
@ -78,7 +78,7 @@ async function createDevPluginSymLink(pluginName) {
|
|||||||
if (await fsExists(link)) {
|
if (await fsExists(link)) {
|
||||||
await unlink(link);
|
await unlink(link);
|
||||||
}
|
}
|
||||||
await symlink(resolve(packagePluginsPath, pluginName), link);
|
await symlink(resolve(packagePluginsPath, pluginName), link, 'dir');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user