Merge pull request #8729 from dcantah/integration-empty-windows

Integration: Align empty IO func on Windows
This commit is contained in:
Fu Wei 2023-06-25 15:17:23 +08:00 committed by GitHub
commit 43ae9c26b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,11 +53,6 @@ import (
)
func empty() cio.Creator {
// TODO (@mlaventure) windows searches for pipes
// when none are provided
if runtime.GOOS == "windows" {
return cio.NewCreator(cio.WithStdio, cio.WithTerminal)
}
return cio.NullIO
}