Remove some bullshit warnings
This commit is contained in:
@@ -182,7 +182,7 @@ func syncConfigs(config *Config) error {
|
||||
}
|
||||
} else if normalizeContent(existingContent) != normalizeContent(expectedContent) {
|
||||
// File exists but content differs
|
||||
fileLogger.Warning("File content differs, updating")
|
||||
fileLogger.Info("File content differs, updating")
|
||||
updated++
|
||||
|
||||
// Show detailed diff of what's changing
|
||||
@@ -207,7 +207,7 @@ func syncConfigs(config *Config) error {
|
||||
orphanedCount++
|
||||
orphanLogger := logger.WithPrefix(fmt.Sprintf("orphan=%s", filename))
|
||||
if *delete {
|
||||
orphanLogger.Warning("Deleting orphaned file")
|
||||
orphanLogger.Info("Deleting orphaned file")
|
||||
if !*dryRun {
|
||||
if err := os.Remove(filename); err != nil {
|
||||
return fmt.Errorf("failed to delete file %s: %w", filename, err)
|
||||
|
||||
Reference in New Issue
Block a user