Skip to content

Commit e6060de

Browse files
committed
lint: fix lint issues
1 parent 44edda4 commit e6060de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func InfoProccCmd() *cobra.Command {
161161

162162
func inform(typ string, summary string, err error) error {
163163
if err != nil {
164-
fmt.Println(term.Redf("ERROR:"), term.Redf(err.Error()))
164+
fmt.Println(term.Redf("ERROR: %s", err.Error()))
165165
fmt.Println(term.Bluef("\nUse 'meteor list %s' for the list of supported %s.", typ, typ))
166166
return nil
167167
}

cmd/run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ func RunCmd() *cobra.Command {
120120
if run.Error != nil {
121121
lg.Error(run.Error.Error(), "recipe", run.Recipe.Name)
122122
failures++
123-
row = append(row, term.FailureIcon(), run.Recipe.Name, term.Grey(run.Recipe.Source.Name), term.Greyf("%v ms", strconv.Itoa(run.DurationInMs)), term.Greyf(strconv.Itoa(run.RecordCount)))
123+
row = append(row, term.FailureIcon(), run.Recipe.Name, term.Grey(run.Recipe.Source.Name), term.Greyf("%v ms", strconv.Itoa(run.DurationInMs)), term.Greyf("%s", strconv.Itoa(run.RecordCount)))
124124
} else {
125125
success++
126-
row = append(row, term.SuccessIcon(), run.Recipe.Name, term.Grey(run.Recipe.Source.Name), term.Greyf("%v ms", strconv.Itoa(run.DurationInMs)), term.Greyf(strconv.Itoa(run.RecordCount)))
126+
row = append(row, term.SuccessIcon(), run.Recipe.Name, term.Grey(run.Recipe.Source.Name), term.Greyf("%v ms", strconv.Itoa(run.DurationInMs)), term.Greyf("%s", strconv.Itoa(run.RecordCount)))
127127
}
128128
report = append(report, row)
129129
if err = bar.Add(1); err != nil {

0 commit comments

Comments
 (0)