lint reported errors on CircleCI
Commit to fix lint reported errors during tests on CircleCI (remove blank lines x2)
This commit is contained in:
parent
78817bd001
commit
ddd369e731
@ -795,16 +795,14 @@ uiLoop:
|
|||||||
case "find-count":
|
case "find-count":
|
||||||
afmt.Print("Deals to make (1): ")
|
afmt.Print("Deals to make (1): ")
|
||||||
dealcStr, _, err := rl.ReadLine()
|
dealcStr, _, err := rl.ReadLine()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
printErr(xerrors.Errorf("reading deal count: %w", err))
|
printErr(xerrors.Errorf("reading deal count: %w", err))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
dealCount, err = strconv.ParseInt(string(dealcStr), 10, 64)
|
dealCount, err = strconv.ParseInt(string(dealcStr), 10, 64)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
printErr(xerrors.Errorf("reading deal count: invalid number")) // TO DO : Use 1 as default value for number of deals ?
|
printErr(xerrors.Errorf("reading deal count: invalid number"))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user