There was an error while loading. Please reload this page.
1 parent 8b5418e commit a76b06dCopy full SHA for a76b06d
1 file changed
app/cli/cmd/workflow_contract_update.go
@@ -29,8 +29,8 @@ func newWorkflowContractUpdateCmd() *cobra.Command {
29
Use: "update",
30
Short: "Update an existing contract",
31
PreRunE: func(cmd *cobra.Command, args []string) error {
32
- if contractPath == "" && name == "" {
33
- return errors.New("at least the name or the new contract revision must be provided")
+ if contractPath == "" && name == "" && description == "" {
+ return errors.New("no updates provided")
34
}
35
return nil
36
},
0 commit comments