Merge pull request #198 from harmony-one/fix-regex

[root] Fix regex for commit version check
pull/199/head
Daniel Van Der Maden 5 years ago committed by GitHub
commit c1996e6f1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/subcommands/root.go

@ -159,7 +159,7 @@ var (
VersionWrapDump = ""
cookbook = color.GreenString("hmy cookbook")
versionLink = "https://harmony.one/hmycli_ver"
versionFormat = regexp.MustCompile("v[0-9]+-[a-z0-9]{6}")
versionFormat = regexp.MustCompile("v[0-9]+-[a-z0-9]{7}")
)
// Execute kicks off the hmy CLI

Loading…
Cancel
Save