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":
|
||||
afmt.Print("Deals to make (1): ")
|
||||
dealcStr, _, err := rl.ReadLine()
|
||||
|
||||
if err != nil {
|
||||
printErr(xerrors.Errorf("reading deal count: %w", err))
|
||||
continue
|
||||
}
|
||||
|
||||
dealCount, err = strconv.ParseInt(string(dealcStr), 10, 64)
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user