Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Nov 26, 2024
1 parent 3cef7fd commit 198df07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
6 changes: 4 additions & 2 deletions pkg/fixtures/type_alias/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ package type_alias

import "github.com/vektra/mockery/v2/pkg/fixtures/type_alias/subpkg"

type Type = int
type S = subpkg.S
type (
Type = int
S = subpkg.S
)

type Interface1 interface {
Foo() Type
Expand Down
10 changes: 2 additions & 8 deletions tools/cmd/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@ import (
"github.com/spf13/viper"
)

var (
ErrNoNewVersion = errors.New("no new version specified")
)
var ErrNoNewVersion = errors.New("no new version specified")

var (
EXIT_CODE_NO_NEW_VERSION = 8
)
var EXIT_CODE_NO_NEW_VERSION = 8

func NewTagCmd(v *viper.Viper) (*cobra.Command, error) {
if err := v.ReadInConfig(); err != nil {
Expand Down Expand Up @@ -121,7 +117,6 @@ func (t *Tagger) largestTagSemver(repo *git.Repository) (*semver.Version, error)
largestTag = version
}
return nil

}); err != nil {
return nil, err
}
Expand Down Expand Up @@ -201,5 +196,4 @@ func (t *Tagger) Tag() error {
logger.Info().Msg("created new tag. Push to origin still required.")

return nil

}

0 comments on commit 198df07

Please sign in to comment.