1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-09-16 09:16:26 +02:00

Remove "double" formatting

This commit is contained in:
Stefan Haller
2024-08-23 20:15:56 +02:00
parent 24841f22f1
commit 63aa32c521
2 changed files with 5 additions and 8 deletions

View File

@@ -1,7 +1,6 @@
package helpers
import (
"fmt"
"strings"
"sync"
"time"
@@ -60,7 +59,7 @@ func (self *RefreshHelper) Refresh(options types.RefreshOptions) error {
t := time.Now()
defer func() {
self.c.Log.Infof(fmt.Sprintf("Refresh took %s", time.Since(t)))
self.c.Log.Infof("Refresh took %s", time.Since(t))
}()
if options.Scope == nil {
@@ -114,7 +113,7 @@ func (self *RefreshHelper) Refresh(options types.RefreshOptions) error {
t := time.Now()
defer wg.Done()
f()
self.c.Log.Infof(fmt.Sprintf("refreshed %s in %s", name, time.Since(t)))
self.c.Log.Infof("refreshed %s in %s", name, time.Since(t))
})
}
}