From f09b51e2123a7ffc54d75080ec5afbc14dc32a2b Mon Sep 17 00:00:00 2001 From: openhands Date: Sun, 1 Dec 2024 21:43:21 +0000 Subject: [PATCH] Fix prettier errors in actions.ts --- frontend/src/services/actions.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/services/actions.ts b/frontend/src/services/actions.ts index f4ef8f9d1cc5..b1bf755b3330 100644 --- a/frontend/src/services/actions.ts +++ b/frontend/src/services/actions.ts @@ -126,7 +126,8 @@ export function handleActionMessage(message: ActionMessage) { action: "run" as const, args: { command: String(message.args?.command || ""), - confirmation_state: (message.args?.confirmation_state || "confirmed") as + confirmation_state: (message.args?.confirmation_state || + "confirmed") as | "confirmed" | "rejected" | "awaiting_confirmation", @@ -158,7 +159,8 @@ export function handleActionMessage(message: ActionMessage) { action: "run_ipython" as const, args: { code: String(message.args?.code || ""), - confirmation_state: (message.args?.confirmation_state || "confirmed") as + confirmation_state: (message.args?.confirmation_state || + "confirmed") as | "confirmed" | "rejected" | "awaiting_confirmation",