aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/io/buffer_io.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/io/buffer_io.rs')
-rw-r--r--crates/shirabe/src/io/buffer_io.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/shirabe/src/io/buffer_io.rs b/crates/shirabe/src/io/buffer_io.rs
index 8c10dee..91fdac1 100644
--- a/crates/shirabe/src/io/buffer_io.rs
+++ b/crates/shirabe/src/io/buffer_io.rs
@@ -107,9 +107,7 @@ impl BufferIO {
&output,
);
- // TODO(phase-c): Preg::replace_callback returns Result<String>; PHP getOutput returns the
- // string directly, so this is gated on the get_stream PhpResource model above.
- output.unwrap_or_default()
+ output
}
pub fn set_user_inputs(&mut self, inputs: Vec<String>) -> Result<()> {