mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-29 14:30:31 +08:00
ci(bin): Fix clippy warning
This commit is contained in:
Vendored
+17
@@ -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
@@ -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()?;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user