Skip to content

Commit

Permalink
re: make efficient use of labels
Browse files Browse the repository at this point in the history
  • Loading branch information
cybardev committed Nov 18, 2024
1 parent 1d2020f commit ecbd831
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/ytgo/yt.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ func main() {
}
defer rl.Close()

query, err = rl.Readline()
if err != nil {
return // exit on EOF/SIGINT
}
goto endloop
} else {
query = strings.Join(flag.Args(), " ")
}
Expand Down

0 comments on commit ecbd831

Please sign in to comment.