Skip to content

Commit

Permalink
return err directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirusu committed Sep 22, 2022
1 parent 9a17f03 commit 99c593c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ego/ego/cmd/sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ func newSignCmd() *cobra.Command {
}
err := newCli().Sign(filename)
handleErr(err)
if err != nil {
return err
}
return nil
return err // nil if no error
},
}
}

0 comments on commit 99c593c

Please sign in to comment.