diff options
Diffstat (limited to 'crates/shirabe/src/io/null_io.rs')
| -rw-r--r-- | crates/shirabe/src/io/null_io.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/shirabe/src/io/null_io.rs b/crates/shirabe/src/io/null_io.rs index 71a81408..6db473ae 100644 --- a/crates/shirabe/src/io/null_io.rs +++ b/crates/shirabe/src/io/null_io.rs @@ -65,8 +65,8 @@ impl IOInterfaceImmutable for NullIO { ) { } - fn ask(&self, _question: String, default: PhpMixed) -> PhpMixed { - default + fn ask(&self, _question: String, default: PhpMixed) -> anyhow::Result<PhpMixed> { + Ok(default) } fn ask_confirmation(&self, _question: String, default: bool) -> bool { @@ -95,8 +95,8 @@ impl IOInterfaceImmutable for NullIO { _attempts: PhpMixed, _error_message: String, _multiselect: bool, - ) -> PhpMixed { - default + ) -> anyhow::Result<PhpMixed> { + Ok(default) } fn get_authentications( |
