hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit c54df37f6a506e035659d15e23372ebcccbefe39
parent b1b7ac7e750a5d6b73daa5971eb1df4a79b698a5
Author: srinivasreddy <thatiparthysreenivas@gmail.com>
Date:   Tue, 22 Mar 2016 03:31:25 +0530

source: Remove unnecessary else condition

Diffstat:
Mcommands/import_jekyll.go | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/commands/import_jekyll.go b/commands/import_jekyll.go
@@ -128,12 +128,11 @@ func importFromJekyll(cmd *cobra.Command, args []string) error {
 
 	if err != nil {
 		return err
-	} else {
-		fmt.Println("Congratulations!", fileCount, "post(s) imported!")
-		fmt.Println("Now, start Hugo by yourself:\n" +
-			"$ git clone https://github.com/spf13/herring-cove.git " + args[1] + "/themes/herring-cove")
-		fmt.Println("$ cd " + args[1] + "\n$ hugo server --theme=herring-cove")
 	}
+	fmt.Println("Congratulations!", fileCount, "post(s) imported!")
+	fmt.Println("Now, start Hugo by yourself:\n" +
+		"$ git clone https://github.com/spf13/herring-cove.git " + args[1] + "/themes/herring-cove")
+	fmt.Println("$ cd " + args[1] + "\n$ hugo server --theme=herring-cove")
 
 	return nil
 }