High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
refactor(cli): delete the dead ErrorWithHint, leaving one writer for each of the package's two formats (PIN-295)
Luigi Agosti00aeff2a463a
diff --git a/internal/cli/output/format.go b/internal/cli/output/format.goindex baebc1db..2ffd48bc 100644--- a/internal/cli/output/format.go+++ b/internal/cli/output/format.go@@ -23,13 +23,6 @@ func Error(cmd, reason string, code int) {os.Exit(code)}-// ErrorWithHint prints an error with a hint to stderr and exits.-func ErrorWithHint(cmd, reason, hint string, code int) {- fmt.Fprintf(os.Stderr, "ERROR: %s: %s\n", cmd, reason)- fmt.Fprintf(os.Stderr, "HINT: %s\n", hint)- os.Exit(code)-}-// Hint prints a hint line to stderr (does not exit).func Hint(text string) {fmt.Fprintf(os.Stderr, "HINT: %s\n", text)