style: applied biome formatting to merged evaluator fixes

This commit is contained in:
can1357
2026-08-02 21:01:20 +02:00
parent a7f3bc2a17
commit 73b834dcbc
2 changed files with 2 additions and 5 deletions
@@ -138,8 +138,7 @@ describe("read and write route xd:// device URLs", () => {
label: "Peek",
description: "Argument-dependent device",
parameters: type({ q: "string" }),
approval: args =>
args && typeof args === "object" && "q" in args && args.q === "mutate" ? "write" : "read",
approval: args => (args && typeof args === "object" && "q" in args && args.q === "mutate" ? "write" : "read"),
async execute(_id, args) {
if (!args || typeof args !== "object" || !("q" in args) || typeof args.q !== "string") {
throw new Error("Expected a string query");