lint some stuff

This commit is contained in:
Henrique Dias
2016-06-07 16:27:42 +01:00
parent 8ed78288a7
commit acc4c92b15
3 changed files with 14 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ func GetPath() string {
var err error
// Check if Hugo is already on $PATH
if hugo, err := exec.LookPath("hugo"); err == nil {
if hugo, err = exec.LookPath("hugo"); err == nil {
return hugo
}