From 8058304219b2b72b17a356b14290ad82fc827c01 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Sun, 9 Jan 2022 10:22:23 -0500 Subject: [PATCH] dont log noops --- cmd/pttodo-cli/cli.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/pttodo-cli/cli.go b/cmd/pttodo-cli/cli.go index d6c6d5a..7571687 100644 --- a/cmd/pttodo-cli/cli.go +++ b/cmd/pttodo-cli/cli.go @@ -205,7 +205,7 @@ func edit(dry bool, filepaths []string) error { } else if err := yaml.Unmarshal(b, &rootOld); err != nil { return err } else if rootTemp.Equals(rootOld) { - log.Printf("no changes to %s", filepath) + //log.Printf("no changes to %s", filepath) return nil } if dry { @@ -329,7 +329,7 @@ func dump(dry bool, writer io.Writer, filepaths []string, tags []string, search, return err } } else { - log.Printf("not refreshing %s", filepath) + //log.Printf("not refreshing %s", filepath) } }