aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/search_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command/search_command.rs')
-rw-r--r--crates/shirabe/src/command/search_command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/command/search_command.rs b/crates/shirabe/src/command/search_command.rs
index 2e0f95da..b0eabf80 100644
--- a/crates/shirabe/src/command/search_command.rs
+++ b/crates/shirabe/src/command/search_command.rs
@@ -293,7 +293,7 @@ impl Command for SearchCommand {
PhpMixed::Array(entry)
})
.collect();
- io.write(&JsonFile::encode(&PhpMixed::List(rows)));
+ io.write(&JsonFile::encode(&PhpMixed::List(rows))?);
}
Ok(0)