From 3906f751dd88eaf0204ad556bf25727d34eb9312 Mon Sep 17 00:00:00 2001 From: Chloe Hutchinson Date: Fri, 4 Sep 2020 15:18:29 +1000 Subject: [PATCH] Use %q over %s to quote the query --- clicommand/artifact_search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clicommand/artifact_search.go b/clicommand/artifact_search.go index a4e8329aea..e47385603e 100644 --- a/clicommand/artifact_search.go +++ b/clicommand/artifact_search.go @@ -146,7 +146,7 @@ var ArtifactSearchCommand = cli.Command{ } if len(artifacts) == 0 { - return cli.Exit(fmt.Sprintf("No matches found for %s", cfg.Query), 1) + return cli.Exit(fmt.Sprintf("No matches found for %q", cfg.Query), 1) } for _, artifact := range artifacts {