mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:10:44 +00:00
fix(plugins): narrow channel install defaults
This commit is contained in:
@@ -222,7 +222,7 @@ function resolveInstallInfo(params: {
|
||||
localPath = path.relative(params.workspaceDir, params.packageDir) || undefined;
|
||||
}
|
||||
const requestedDefaultChoice = params.install?.defaultChoice;
|
||||
const defaultChoice =
|
||||
const defaultChoice: NonNullable<PluginPackageInstall["defaultChoice"]> =
|
||||
requestedDefaultChoice === "clawhub" && clawhubSpec
|
||||
? "clawhub"
|
||||
: requestedDefaultChoice === "npm" && npmSpec
|
||||
|
||||
Reference in New Issue
Block a user