mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 06:30:28 +09:00
Typo
This commit is contained in:
@@ -15,7 +15,7 @@ func getTag(match ...string) (string, *semver.PRVersion) {
|
||||
var tag []byte
|
||||
var err error
|
||||
if tag, err = exec.Command("git", args...).Output(); err != nil {
|
||||
if _, err := exec.Command("git", "fetch", "tags").Output(); err != nil {
|
||||
if _, err := exec.Command("git", "fetch", "--tags").Output(); err != nil {
|
||||
return "", nil
|
||||
}
|
||||
if tag, err = exec.Command("git", args...).Output(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user