fix(discussion/shared): print quoted category slugs
Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
e403e82633
commit
afb1b7dfea
1 changed files with 1 additions and 1 deletions
|
|
@ -28,5 +28,5 @@ func MatchCategory(input string, categories []client.DiscussionCategory) (*clien
|
|||
slugs[i] = c.Slug
|
||||
}
|
||||
slices.Sort(slugs)
|
||||
return nil, fmt.Errorf("unknown category: %q; must be one of %v", input, slugs)
|
||||
return nil, fmt.Errorf("unknown category: %q; must be one of %q", input, slugs)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue