mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:10:44 +00:00
test(plugins): remove unnecessary peer-link assertion
This commit is contained in:
committed by
Peter Steinberger
parent
fb42c722f0
commit
4d248b887f
@@ -286,7 +286,7 @@ function createOpenClawPeerLinkFixtures(plugins: Array<{ pluginId: string; packa
|
||||
]),
|
||||
);
|
||||
const peerLinkPath = (pluginId: string) =>
|
||||
path.join(installPaths[pluginId]!, "node_modules", "openclaw");
|
||||
path.join(installPaths[pluginId], "node_modules", "openclaw");
|
||||
const linkPeer = (pluginId: string) => {
|
||||
fs.mkdirSync(path.dirname(peerLinkPath(pluginId)), { recursive: true });
|
||||
fs.symlinkSync(peerTarget, peerLinkPath(pluginId), "junction");
|
||||
|
||||
Reference in New Issue
Block a user