summaryrefslogtreecommitdiff
path: root/internal/io
diff options
context:
space:
mode:
Diffstat (limited to 'internal/io')
-rw-r--r--internal/io/fs/readfile.go2
1 files changed, 1 insertions, 1 deletions
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()