diff --git a/lib/core/libimagrt/src/runtime.rs b/lib/core/libimagrt/src/runtime.rs index 40ffac22..1c24e5af 100644 --- a/lib/core/libimagrt/src/runtime.rs +++ b/lib/core/libimagrt/src/runtime.rs @@ -457,11 +457,7 @@ impl<'a> Runtime<'a> { } pub fn stdin(&self) -> Option { - if self.stdin_is_tty { - Some(::std::io::stdin()) - } else { - None - } + Some(::std::io::stdin()) } /// Helper for handling subcommands which are not available.