Skip to content

Commit ddd682e

Browse files
committed
fixup! Improve error reporting on config migration
1 parent a550137 commit ddd682e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/app_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func migrateUserConfig(path string, content []byte) ([]byte, error) {
249249
if err := os.WriteFile(path, changedContent, 0o644); err != nil {
250250
return nil, fmt.Errorf("While attempting to write back fixed user config to %s, an error occured: %s", path, err)
251251
}
252-
fmt.Println("success. New config written to %s", path)
252+
fmt.Printf("success. New config written to %s", path)
253253
return changedContent, nil
254254
}
255255

0 commit comments

Comments
 (0)