lint reported errors on CircleCI

Commit to fix lint reported errors during tests on CircleCI
(remove blank lines x2)
This commit is contained in:
Florian Ruen 2022-02-17 18:53:21 +01:00 committed by GitHub
parent 78817bd001
commit ddd369e731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}