mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-17 16:38:54 +00:00
Improved file-not-found handling (#1508)
This commit is contained in:
parent
3201f9c675
commit
aff4b9f32d
43 changed files with 85 additions and 61 deletions
|
|
@ -71,8 +71,9 @@ func (reader *RecordReaderXTAB) Read(
|
|||
)
|
||||
if err != nil {
|
||||
errorChannel <- err
|
||||
} else {
|
||||
reader.processHandle(handle, "(stdin)", &context, readerChannel, errorChannel, downstreamDoneChannel)
|
||||
}
|
||||
reader.processHandle(handle, "(stdin)", &context, readerChannel, errorChannel, downstreamDoneChannel)
|
||||
} else {
|
||||
for _, filename := range filenames {
|
||||
handle, err := lib.OpenFileForRead(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue