ci(bin): Fix clippy warning

This commit is contained in:
Erik Kundt
2025-02-11 11:07:30 +01:00
parent 54a643b0f0
commit 6b9e82e350
2 changed files with 20 additions and 5 deletions
+17
View File
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"program": "${workspaceFolder}/target/debug/rad-tui",
"args": ["patch", "review", "caa79dd"],
// "cwd": "${workspaceFolder}"
"cwd": "/home/erikli/projects/radicle/dev/radicle-tui/"
}
]
}
+3 -5
View File
@@ -170,12 +170,10 @@ fn run(command: Command) -> Result<(), Option<anyhow::Error>> {
if let Some(exe) = exe.map(|s| s.to_str()) {
run_other(exe, &opts.args[1..])?;
} else if opts.forward {
run_other(None, &[])?;
} else {
if opts.forward {
run_other(None, &[])?;
} else {
print_help()?;
}
print_help()?;
}
}
}