SIGN IN SIGN UP
Homebrew / brew UNCLAIMED

🍺 The missing package manager for macOS (or Linux)

0 0 185 Ruby

services/list: output empty JSON array when no services exist

`brew services list --json` was returning early without any output when
there were no services, causing `JSON.parse` to raise `JSON::ParserError`
in callers expecting valid JSON.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
C
Carlo Cabrera committed
0ca48d8cd0dc15e3af4a7f46f82bb8df6e6fd2ac
Parent: ac06ea7
Committed by Carlo Cabrera <30379873+carlocab@users.noreply.github.com> on 3/25/2026, 6:24:07 AM