chore: format

This commit is contained in:
Peter Steinberger
2026-01-09 16:55:51 +01:00
parent fd9e2d3def
commit be48233bc4
4 changed files with 29 additions and 16 deletions

View File

@@ -27,7 +27,7 @@ function parseDebugValue(raw: string): { value?: unknown; error?: string } {
}
if (
(trimmed.startsWith("\"") && trimmed.endsWith("\"")) ||
(trimmed.startsWith('"') && trimmed.endsWith('"')) ||
(trimmed.startsWith("'") && trimmed.endsWith("'"))
) {
try {
@@ -58,7 +58,8 @@ export function parseDebugCommand(raw: string): DebugCommand | null {
case "reset":
return { action: "reset" };
case "unset": {
if (!args) return { action: "error", message: "Usage: /debug unset path" };
if (!args)
return { action: "error", message: "Usage: /debug unset path" };
return { action: "unset", path: args };
}
case "set": {