From a2201053c5860800efa0e37be77da6e7848a58ec Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Fri, 28 Mar 2025 13:24:12 +0100 Subject: [PATCH] Remove some random ass fmt printf --- main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.go b/main.go index e7d1223..6b03923 100644 --- a/main.go +++ b/main.go @@ -219,12 +219,9 @@ func main() { // Print summary if stats.TotalModifications == 0 { logger.Warning("No modifications were made in any files") - fmt.Fprintf(os.Stderr, "No modifications were made in any files\n") } else { logger.Info("Operation complete! Modified %d values in %d/%d files", stats.TotalModifications, stats.ProcessedFiles, stats.ProcessedFiles+stats.FailedFiles) - fmt.Printf("Operation complete! Modified %d values in %d/%d files\n", - stats.TotalModifications, stats.ProcessedFiles, stats.ProcessedFiles+stats.FailedFiles) sortedCommands := []string{} stats.ModificationsPerCommand.Range(func(key, value interface{}) bool { sortedCommands = append(sortedCommands, key.(string))