Skip to content

Commit

Permalink
Revert "fixed it which mockery's correct version showed."
Browse files Browse the repository at this point in the history
  • Loading branch information
chenrui333 authored Jun 21, 2021
1 parent 340834c commit 3641040
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
package config

import "runtime/debug"

// SemVer is the version of mockery at build time.
var SemVer = "v0.0.0-dev"

func GetSemverInfo() string {
if version, ok := debug.ReadBuildInfo(); ok {
return version.Main.Version
}
return SemVer
return SemVer
}

type Config struct {
Expand Down

0 comments on commit 3641040

Please sign in to comment.