mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-19 05:50:47 +00:00
Build: fix bundled plugin runtime symlinks
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user