Skip to content

Commit 9623920

Browse files
committed
lint
Signed-off-by: Sylwester Piskozub <sylwesterpiskozub@gmail.com>
1 parent 647c846 commit 9623920

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/cli/cmd/workflow_contract_apply.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ or update it if it already exists.`,
3636
3737
# Apply to a specific project
3838
chainloop workflow contract apply --contract my-contract.yaml --project my-project`,
39-
PreRunE: func(cmd *cobra.Command, args []string) error {
39+
PreRunE: func(_ *cobra.Command, _ []string) error {
4040
if filePath == "" && name == "" {
4141
return fmt.Errorf("either --contract file or --name must be provided")
4242
}
4343
return nil
4444
},
45-
RunE: func(cmd *cobra.Command, args []string) error {
45+
RunE: func(cmd *cobra.Command, _ []string) error {
4646
var desc *string
4747
if cmd.Flags().Changed("description") {
4848
desc = &description

0 commit comments

Comments
 (0)