Skip to content

Commit

Permalink
Fix prettier errors in actions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Dec 1, 2024
1 parent c5a1e41 commit f09b51e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/services/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit f09b51e

Please sign in to comment.