Fix linting

This commit is contained in:
Djordje Lukic 2020-08-11 17:36:54 +02:00
parent 2b9da841ed
commit 611667d252
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ func runRemove(ctx context.Context, args []string, force bool) error {
func formatErrors(errs []error) string {
messages := make([]string, len(errs))
for i, err := range errs {
messages[i] = "Error: "+err.Error()
messages[i] = "Error: " + err.Error()
}
return strings.Join(messages, "\n")
}

View File

@ -85,7 +85,7 @@ func runRm(ctx context.Context, args []string, opts rmOpts) error {
func formatErrors(errs []error) string {
messages := make([]string, len(errs))
for i, err := range errs {
messages[i] = "Error: "+err.Error()
messages[i] = "Error: " + err.Error()
}
return strings.Join(messages, "\n")
}