Skip to content

Commit

Permalink
Do not wrap in buffered reader
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Raschl committed Sep 27, 2019
1 parent fa2d613 commit c2a259e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/tpl/main.go
Expand Up @@ -2,7 +2,6 @@
package main

import (
"bufio"
"encoding/csv"
"fmt"
"io"
Expand Down Expand Up @@ -72,7 +71,7 @@ func main() {

var rd io.Reader
if input == "-" {
rd = bufio.NewReader(os.Stdin)
rd = os.Stdin
} else {
fp, err := os.Open(input)
if err != nil {
Expand Down

0 comments on commit c2a259e

Please sign in to comment.