mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-07 07:11:06 +00:00
fix(exec): clarify and cover auto host override guard
This commit is contained in:
committed by
Peter Steinberger
parent
dae6632da1
commit
5dca81271c
@@ -249,7 +249,7 @@ export function resolveExecTarget(params: {
|
||||
) {
|
||||
throw new Error(
|
||||
`exec host not allowed (requested ${renderExecTargetLabel(requestedTarget)}; ` +
|
||||
`configure tools.exec.host=${renderExecTargetLabel(configuredTarget)} to allow).`,
|
||||
`configure tools.exec.host=${renderExecTargetLabel(requestedTarget)} to allow).`,
|
||||
);
|
||||
}
|
||||
const selectedTarget = requestedTarget ?? configuredTarget;
|
||||
|
||||
Reference in New Issue
Block a user