Drops unneeded else block
This commit is contained in:
parent
970f3aa422
commit
c2ec543b05
|
|
@ -62,10 +62,10 @@ func writeContacts(contactsList []contact, outfile string) error {
|
||||||
|
|
||||||
if outfile != "" {
|
if outfile != "" {
|
||||||
return ioutil.WriteFile(outfile, data, 0644)
|
return ioutil.WriteFile(outfile, data, 0644)
|
||||||
} else {
|
}
|
||||||
|
|
||||||
fmt.Printf("%s", data)
|
fmt.Printf("%s", data)
|
||||||
return nil
|
return nil
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const usageIntro = `
|
const usageIntro = `
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue