diff --git a/cmd/notation/policy/import.go b/cmd/notation/policy/import.go index 2ac1b9b4e..adeee4f70 100644 --- a/cmd/notation/policy/import.go +++ b/cmd/notation/policy/import.go @@ -65,7 +65,7 @@ func runImport(command *cobra.Command, opts importOpts) error { } } } else { - fmt.Fprintf(os.Stderr, "Warning: existing trust policy configuration file will be overwritten") + fmt.Fprintln(os.Stderr, "Warning: existing trust policy configuration file will be overwritten") } // read configuration