mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-21 04:18:38 +00:00

splitLines here is identical to bufio.ScanLines, except that bufio.ScanLines removes \r in addition to \n. Trailing carriage returns shouldn't matter for our uses. Since bufio.ScanLines is the default for a new bufio.Scanner, we can delete the calls to Split too.