Skip to content

Commit 0799e85

Browse files
committed
chore(cli/store-types): Format err message as bulleted list when creating multiple store-types and multiple errors are encountered.
Signed-off-by: spbsoluble <1661003+spbsoluble@users.noreply.github.com>
1 parent fddeeb8 commit 0799e85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/storeTypes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ var storesTypeCreateCmd = &cobra.Command{
221221
if len(createErrors) > 0 {
222222
errStr := "while creating store types:\n"
223223
for _, e := range createErrors {
224-
errStr += fmt.Sprintf("%s\n", e)
224+
errStr += fmt.Sprintf("- %s\n", e)
225225
}
226226
return fmt.Errorf("%s", errStr)
227227
}

0 commit comments

Comments
 (0)