Skip to content

Commit f0abd8d

Browse files
committed
feat(plugin-ls): ls <filename> is not an error
1 parent edc1e84 commit f0abd8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/plugin-ls/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ Cargo.toml
7474
};
7575
} else if metadata.is_file() {
7676
return Ok(transport::PluginResponse {
77-
status: transport::ReplStatus::Error,
78-
stdout: None,
79-
stderr: Some(format!("F\t{}", &payload)),
77+
status: transport::ReplStatus::Success,
78+
stdout: Some(format!("F\t{}", &payload)),
79+
stderr: None,
8080
});
8181
} else {
8282
return Ok(transport::PluginResponse {

0 commit comments

Comments
 (0)