mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:40:43 +00:00
fix: load staged dist-runtime plugins in docker
This commit is contained in:
@@ -636,7 +636,8 @@ function applyBundledPluginRuntimeHotfixes(params = {}) {
|
||||
export function isSourceCheckoutRoot(params) {
|
||||
const pathExists = params.existsSync ?? existsSync;
|
||||
return (
|
||||
pathExists(join(params.packageRoot, ".git")) &&
|
||||
(pathExists(join(params.packageRoot, ".git")) ||
|
||||
pathExists(join(params.packageRoot, "pnpm-workspace.yaml"))) &&
|
||||
pathExists(join(params.packageRoot, "src")) &&
|
||||
pathExists(join(params.packageRoot, "extensions"))
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user