From d593aede3d0bc712dbae34d442918532d8c158d4 Mon Sep 17 00:00:00 2001 From: Dan Cech Date: Tue, 8 Nov 2022 10:27:57 -0500 Subject: [PATCH] properly format new .drone.yml in verify-drone (#58436) --- pkg/build/cmd/verifydrone.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/build/cmd/verifydrone.go b/pkg/build/cmd/verifydrone.go index c0e43d955c5c6..ed34e0f77df53 100644 --- a/pkg/build/cmd/verifydrone.go +++ b/pkg/build/cmd/verifydrone.go @@ -39,6 +39,9 @@ func VerifyDrone(c *cli.Context) error { for _, flag := range starlark.Command.Flags { flag.Apply(flags) } + if err := flags.Set("format", "true"); err != nil { + return err + } cStarlark := cliv1.NewContext(cliv1.NewApp(), flags, nil) action := starlark.Command.Action.(func(*cliv1.Context)) action(cStarlark)