Merge pull request #8729 from dcantah/integration-empty-windows
Integration: Align empty IO func on Windows
This commit is contained in:
commit
43ae9c26b8
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user