From 71fd5f8386eb5122806d2e1459623e6105c427af Mon Sep 17 00:00:00 2001 From: Will Yardley Date: Wed, 14 Jun 2023 13:41:51 -0700 Subject: [PATCH] fix: add missing output formats in error message (#213) - Add missing 'junit' and 'pretty' output formats. - Use quotes vs. backticks around command name --- pkg/output/output.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/output/output.go b/pkg/output/output.go index 9f85f1d..67c0262 100644 --- a/pkg/output/output.go +++ b/pkg/output/output.go @@ -25,6 +25,6 @@ func New(w io.Writer, outputFormat string, printSummary, isStdin, verbose bool) case outputFormat == "text": return textOutput(w, printSummary, isStdin, verbose), nil default: - return nil, fmt.Errorf("`outputFormat` must be 'json', 'tap' or 'text'") + return nil, fmt.Errorf("'outputFormat' must be 'json', 'junit', 'pretty', 'tap' or 'text'") } }