From ddd369e7319590194087f3ecf60f08ddc6713aa4 Mon Sep 17 00:00:00 2001 From: Florian Ruen Date: Thu, 17 Feb 2022 18:53:21 +0100 Subject: [PATCH] lint reported errors on CircleCI Commit to fix lint reported errors during tests on CircleCI (remove blank lines x2) --- cli/client.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cli/client.go b/cli/client.go index ae8ad857e..68d57376d 100644 --- a/cli/client.go +++ b/cli/client.go @@ -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 }