summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/genautocomplete.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/commands/genautocomplete.go b/commands/genautocomplete.go
index c4e89dd96..c725f7792 100644
--- a/commands/genautocomplete.go
+++ b/commands/genautocomplete.go
@@ -53,9 +53,10 @@ or just source them in directly:
if err != nil {
return err
- } else {
- jww.FEEDBACK.Println("Bash completion file for Hugo saved to", autocompleteTarget)
}
+
+ jww.FEEDBACK.Println("Bash completion file for Hugo saved to", autocompleteTarget)
+
return nil
},
}