mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Refactor a named return
Ref: 29f3e011ec (diff-0cf3d18277fde705f1a4eb69fddfefc1L407)
This commit is contained in:
parent
345fd552f0
commit
e9d0b8bee6
1 changed files with 1 additions and 1 deletions
2
cmd.go
2
cmd.go
|
@ -396,7 +396,7 @@ func handleYogurt() error {
|
||||||
return numberMenu(cmdArgs.targets)
|
return numberMenu(cmdArgs.targets)
|
||||||
}
|
}
|
||||||
|
|
||||||
func handleSync() (err error) {
|
func handleSync() error {
|
||||||
targets := cmdArgs.targets
|
targets := cmdArgs.targets
|
||||||
|
|
||||||
if cmdArgs.existsArg("s", "search") {
|
if cmdArgs.existsArg("s", "search") {
|
||||||
|
|
Loading…
Reference in a new issue