From: srinivasreddy Date: Mon, 21 Mar 2016 22:01:25 +0000 (+0530) Subject: source: Remove unnecessary else condition X-Git-Tag: v0.16~198 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c54df37f6a506e035659d15e23372ebcccbefe39;p=brevno-suite%2Fhugo source: Remove unnecessary else condition --- diff --git a/commands/import_jekyll.go b/commands/import_jekyll.go index 40d24337..30a86528 100644 --- 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 }