style: fix linting issues
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
1 parent
5afe2cc52d
commit
b7022bdfe3
3 files changed
+6
-10
No files matched your search
+2
-5
@@ -187,9 +187,6 @@ func (h Hugo) undraft(file string) error {
|
||||
// Setup sets up the plugin.
|
||||
func (h *Hugo) Setup() error {
|
||||
var err error
|
||||
if h.Exe, err = exec.LookPath("hugo"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
h.Exe, err = exec.LookPath("hugo")
|
||||
return err
|
||||
}
|
||||
Reference in new issue
Block a user