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

View File

@@ -53,11 +53,6 @@ import (
) )
func empty() cio.Creator { 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 return cio.NullIO
} }