diff --git a/helpers.go b/helpers.go index 2497352..8960ae1 100644 --- a/helpers.go +++ b/helpers.go @@ -39,6 +39,7 @@ func getStdinLinesOrFirstArgument(c *cli.Context) chan string { if target != "" { single := make(chan string, 1) single <- target + close(single) return single }