aboutsummaryrefslogtreecommitdiff
path: root/helix-dap
diff options
context:
space:
mode:
Diffstat (limited to 'helix-dap')
-rw-r--r--helix-dap/src/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs
index 832a70c2..72aff5d2 100644
--- a/helix-dap/src/client.rs
+++ b/helix-dap/src/client.rs
@@ -54,7 +54,7 @@ impl Client {
port_arg: Option<String>,
id: usize,
) -> Result<(Self, UnboundedReceiver<Payload>)> {
- if command == "" {
+ if command.is_empty() {
return Result::Err(Error::Other(anyhow!("Command not provided")));
}
if transport == "tcp" && port_arg.is_some() {