mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
properly format new .drone.yml in verify-drone (#58436)
This commit is contained in:
parent
50a197014f
commit
d593aede3d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user