From 7ea606a1f43ec122ee6a5f1876cddcf6b3f47e30 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Thu, 17 Aug 2023 23:15:20 +0800 Subject: [PATCH] chore: quick fix on notation policy command print out (#764) Signed-off-by: Patrick Zheng --- cmd/notation/policy/import.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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