mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-18 18:04:17 +00:00
Two issues caused red team test failures after --format flag introduction: 1. ss_capture helper merged stderr into stdout (2>&1), so the --json deprecation warning poisoned JSON parsing by jq. Fix: capture stderr to a temp file separately from stdout. 2. Two unguarded fmt.Println() calls in auditInstalled() printed blank lines to stdout even in JSON/SARIF/markdown mode. Fix: wrap in if !jsonOutput guard. Also migrate all 39 --json invocations in red team tests to --format json since --json is deprecated.