Refactor a named return

Ref: 29f3e011ec (diff-0cf3d18277fde705f1a4eb69fddfefc1L407)
This commit is contained in:
Alexander F. Rødseth 2018-07-31 13:10:51 +02:00
parent 345fd552f0
commit e9d0b8bee6

2
cmd.go
View File

@ -396,7 +396,7 @@ func handleYogurt() error {
return numberMenu(cmdArgs.targets)
}
func handleSync() (err error) {
func handleSync() error {
targets := cmdArgs.targets
if cmdArgs.existsArg("s", "search") {