Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: post run on cmd (#16055)
p0ny8be221cc8d1c
diff --git a/action/main.go b/action/main.goindex 50691a11a2..38d4201035 100644--- a/action/main.go+++ b/action/main.go@@ -47,9 +47,10 @@ var (TargetStage string}cmd = &cobra.Command{- Use: "bytebase-action",- Short: "Bytebase action",- PersistentPreRunE: validateSharedFlags,+ Use: "bytebase-action",+ Short: "Bytebase action",+ PersistentPreRunE: validateSharedFlags,+ PersistentPostRunE: writeOutputJSON,}outputMap = map[string]string{})@@ -66,12 +67,11 @@ func init() {// bytebase-action check flagscmdCheck := &cobra.Command{- Use: "check",- Short: "Check the release files",- Args: cobra.NoArgs,- PersistentPreRunE: nil,- PersistentPostRunE: writeOutputJSON,- RunE: runCheck,+ Use: "check",+ Short: "Check the release files",+ Args: cobra.NoArgs,+ PersistentPreRunE: nil,+ RunE: runCheck,}cmd.AddCommand(cmdCheck)