From 779c81052110ab669755ae3fc7b9ee71d702f964 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Sun, 26 Dec 2021 00:14:32 +0100 Subject: [PATCH] refactor: less quotes, less verbose --- cli/catalogue/catalogue.go | 2 +- pkg/git/clone.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/catalogue/catalogue.go b/cli/catalogue/catalogue.go index 2ae00b5d..a0f0357d 100644 --- a/cli/catalogue/catalogue.go +++ b/cli/catalogue/catalogue.go @@ -103,7 +103,7 @@ A new catalogue copy can be published to the recipes repository by passing the logrus.Fatal(err) } - logrus.Debugf("ensuring '%v' recipe(s) are locally present and up-to-date", len(repos)) + logrus.Debugf("ensuring %v recipe(s) are locally present and up-to-date", len(repos)) var barLength int if recipeName != "" { diff --git a/pkg/git/clone.go b/pkg/git/clone.go index 67359840..dcf626f5 100644 --- a/pkg/git/clone.go +++ b/pkg/git/clone.go @@ -33,7 +33,7 @@ func Clone(dir, url string) error { } logrus.Debugf("%s has been git cloned successfully", dir) } else { - logrus.Debugf("%s already exists, doing nothing", dir) + logrus.Debugf("%s already exists", dir) } return nil