mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 20:21:23 +00:00
fix: adapt landed fixups to current type and approval constraints
This commit is contained in:
@@ -145,6 +145,7 @@ describe("sanitizeSystemRunParamsForForwarding", () => {
|
||||
const record = approvalManager.create(
|
||||
{
|
||||
host: "node",
|
||||
nodeId: "node-1",
|
||||
command: "echo SAFE",
|
||||
cwd: null,
|
||||
agentId: null,
|
||||
@@ -170,6 +171,7 @@ describe("sanitizeSystemRunParamsForForwarding", () => {
|
||||
};
|
||||
|
||||
const first = sanitizeSystemRunParamsForForwarding({
|
||||
nodeId: "node-1",
|
||||
rawParams: params,
|
||||
client,
|
||||
execApprovalManager: approvalManager,
|
||||
@@ -178,6 +180,7 @@ describe("sanitizeSystemRunParamsForForwarding", () => {
|
||||
expectAllowOnceForwardingResult(first);
|
||||
|
||||
const second = sanitizeSystemRunParamsForForwarding({
|
||||
nodeId: "node-1",
|
||||
rawParams: params,
|
||||
client,
|
||||
execApprovalManager: approvalManager,
|
||||
|
||||
Reference in New Issue
Block a user