From 3bcb5b95e71d173b196d66b27997b92dbd0bd840 Mon Sep 17 00:00:00 2001 From: Sacha Ligthert Date: Mon, 27 Jan 2025 23:14:49 +0100 Subject: [PATCH] Make the linter happy. --- solver/processing.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solver/processing.go b/solver/processing.go index d63c4a4..23b771d 100644 --- a/solver/processing.go +++ b/solver/processing.go @@ -152,8 +152,9 @@ func (solver *Solver) Tracker() { est, err := time.ParseDuration(duration_string) if err != nil { est_fin = "parse error" + } else { + est_fin = est.String() } - est_fin = est.String() } // Printing the progress