dont log noops

Bel LaPointe 2022-01-09 10:22:23 -05:00
parent 7f24b3f337
commit 8058304219
1 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ func edit(dry bool, filepaths []string) error {
} else if err := yaml.Unmarshal(b, &rootOld); err != nil { } else if err := yaml.Unmarshal(b, &rootOld); err != nil {
return err return err
} else if rootTemp.Equals(rootOld) { } else if rootTemp.Equals(rootOld) {
log.Printf("no changes to %s", filepath) //log.Printf("no changes to %s", filepath)
return nil return nil
} }
if dry { if dry {
@ -329,7 +329,7 @@ func dump(dry bool, writer io.Writer, filepaths []string, tags []string, search,
return err return err
} }
} else { } else {
log.Printf("not refreshing %s", filepath) //log.Printf("not refreshing %s", filepath)
} }
} }