Skip to content

Commit

Permalink
Remove replacement directive from go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
dvob committed Jul 28, 2024
1 parent 36e14a0 commit 9d7936b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/pcert/sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func newSignCmd() *cobra.Command {
// SignCert
data, err = readStdinOrFile(opts.SignCert, stdin)
if os.IsNotExist(err) && opts.SignCert == defaultSignCertLocation {
return fmt.Errorf("sign cert '%s' does not exist. set --sign-cert accordingly.", opts.SignCert)
return fmt.Errorf("sign cert '%s' does not exist. set --sign-cert accordingly", opts.SignCert)
} else if err != nil {
return err
}
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ require (
)

require github.com/inconshreveable/mousetrap v1.1.0 // indirect

replace github.com/spf13/cobra => ../cobra

0 comments on commit 9d7936b

Please sign in to comment.