mirror of https://github.com/openclaw/openclaw.git
Build: fix bundled plugin runtime symlinks
This commit is contained in:
parent
cd2752346c
commit
dc20a7cd89
|
|
@ -102,10 +102,6 @@ function linkPluginNodeModules(params) {
|
|||
if (params.distPluginDir) {
|
||||
removePathIfExists(path.join(params.distPluginDir, "node_modules"));
|
||||
}
|
||||
if (!fs.existsSync(params.sourcePluginNodeModulesDir)) {
|
||||
return;
|
||||
}
|
||||
fs.symlinkSync(params.sourcePluginNodeModulesDir, runtimeNodeModulesDir, symlinkType());
|
||||
|
||||
if (params.distPluginDir) {
|
||||
const distNodeModulesDir = path.join(params.distPluginDir, "node_modules");
|
||||
|
|
|
|||
Loading…
Reference in New Issue