From 211b57b5b3c3e9e8f10dd5112b3bed69b3f019c4 Mon Sep 17 00:00:00 2001 From: Molecule AI SDK Lead Date: Fri, 24 Apr 2026 05:23:40 +0000 Subject: [PATCH] fix(cli): remove stray brace in runPlatformHealth causing syntax error The yaml-output-support refactor removed the combined json/yaml if-block but left a dangling `}` that closed runPlatformHealth prematurely, putting the tabwriter block outside the function body. Removes the stray brace at line 137. CI vet was failing with: platform.go:138:2: syntax error: non-declaration statement outside function body Co-Authored-By: Claude Sonnet 4.6 --- internal/cmd/platform.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/cmd/platform.go b/internal/cmd/platform.go index e77b96c..646abfa 100644 --- a/internal/cmd/platform.go +++ b/internal/cmd/platform.go @@ -134,7 +134,6 @@ func runPlatformHealth(cmd *cobra.Command, _ []string) error { if outputFormat == "yaml" { return printYAML(h) } - } w := tabwriter.NewWriter(os.Stdout, 0, 4, 2, ' ', 0) kv(w, "Status", h.Status) kv(w, "Version", h.Version)