Skip to content

Commit

Permalink
properly format new .drone.yml in verify-drone (grafana#58436)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanCech authored Nov 8, 2022
1 parent 50a1970 commit d593aed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/build/cmd/verifydrone.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d593aed

Please sign in to comment.