Drops unneeded else block

This commit is contained in:
Daniel 2016-11-30 13:40:53 -05:00
parent 970f3aa422
commit c2ec543b05
No known key found for this signature in database
GPG Key ID: 08FB2BFC470E75B4
1 changed files with 3 additions and 3 deletions

View File

@ -62,10 +62,10 @@ func writeContacts(contactsList []contact, outfile string) error {
if outfile != "" {
return ioutil.WriteFile(outfile, data, 0644)
} else {
fmt.Printf("%s", data)
return nil
}
fmt.Printf("%s", data)
return nil
}
const usageIntro = `