repochecker: Fix number of detected choices with step attribute
This commit is contained in:
parent
08107931ea
commit
f328261ea2
2 changed files with 1 additions and 2 deletions
|
@ -286,7 +286,6 @@ func iface2Number(input interface{}, output *string) error {
|
|||
*output = fmt.Sprintf("%d", v)
|
||||
} else if v, ok := input.(float64); ok {
|
||||
*output = strconv.FormatFloat(v, 'f', -1, 64)
|
||||
fmt.Printf("%s\n", *output)
|
||||
} else {
|
||||
return fmt.Errorf("has an invalid type: expected int or float, got %T", input)
|
||||
}
|
||||
|
|
Reference in a new issue