mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-25 18:07:07 +09:00
Typo
This commit is contained in:
@@ -15,7 +15,7 @@ func getTag(match ...string) (string, *semver.PRVersion) {
|
|||||||
var tag []byte
|
var tag []byte
|
||||||
var err error
|
var err error
|
||||||
if tag, err = exec.Command("git", args...).Output(); err != nil {
|
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
|
return "", nil
|
||||||
}
|
}
|
||||||
if tag, err = exec.Command("git", args...).Output(); err != nil {
|
if tag, err = exec.Command("git", args...).Output(); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user