pull/60/merge
Henrique Dias 2016-07-28 20:14:05 +01:00
parent f0a382f359
commit 2ec7c53727
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ func initializeVariables() {
} }
func checkVersion() bool { func checkVersion() bool {
out, _ := exec.Command("hugo", "version").Output() out, _ := exec.Command(hugo, "version").Output()
r := regexp.MustCompile(`v\d\.\d{2}`) r := regexp.MustCompile(`v\d\.\d{2}`)
v := r.FindStringSubmatch(string(out))[0] v := r.FindStringSubmatch(string(out))[0]