From feff2c21715ab75fdc27ab2a5dcc4d795c45bc17 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 31 Oct 2021 17:23:34 +0200 Subject: add dmap integration test with stdin input pipe --- internal/io/fs/readfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/io') diff --git a/internal/io/fs/readfile.go b/internal/io/fs/readfile.go index 9c2f53c..18c20c0 100644 --- a/internal/io/fs/readfile.go +++ b/internal/io/fs/readfile.go @@ -99,7 +99,7 @@ func (f readFile) Start(ctx context.Context, ltx lcontext.LContext, } func (f readFile) makeReader() (*bufio.Reader, *os.File, error) { - if f.filePath == "PIPE" && f.globID == "PIPE" { + if f.filePath == "" && f.globID == "-" { return f.makePipeReader() } return f.makeFileReader() -- cgit v1.2.3