Skip to content

Commit

Permalink
lint: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisuhag committed Oct 31, 2024
1 parent 44edda4 commit e6060de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func InfoProccCmd() *cobra.Command {

func inform(typ string, summary string, err error) error {
if err != nil {
fmt.Println(term.Redf("ERROR:"), term.Redf(err.Error()))
fmt.Println(term.Redf("ERROR: %s", err.Error()))
fmt.Println(term.Bluef("\nUse 'meteor list %s' for the list of supported %s.", typ, typ))
return nil
}
Expand Down
4 changes: 2 additions & 2 deletions cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ func RunCmd() *cobra.Command {
if run.Error != nil {
lg.Error(run.Error.Error(), "recipe", run.Recipe.Name)
failures++
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)))
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)))
} else {
success++
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)))
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)))
}
report = append(report, row)
if err = bar.Add(1); err != nil {
Expand Down

0 comments on commit e6060de

Please sign in to comment.