lint some stuff
This commit is contained in:
1 parent
8ed78288a7
commit
acc4c92b15
3 files changed
+14
-9
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user