mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 08:47:18 +02:00
Run cargo clippy
This commit is contained in:
parent
c05b37cf6e
commit
ee4854e7c6
1 changed files with 2 additions and 4 deletions
|
@ -48,13 +48,11 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|||
Err(error) => {
|
||||
if error.to_string().to_lowercase().contains("no such file or directory") {
|
||||
eprintln!(
|
||||
"{}: Unable to find executable `task`: {}. Check that taskwarrior is installed correctly and try again.",
|
||||
"[taskwarrior-tui error]", error
|
||||
"[taskwarrior-tui error]: Unable to find executable `task`: {}. Check that taskwarrior is installed correctly and try again.", error
|
||||
);
|
||||
} else {
|
||||
eprintln!(
|
||||
"{}: {}. Please report as a github issue on https://github.com/kdheepak/taskwarrior-tui",
|
||||
"[taskwarrior-tui error]", error
|
||||
"[taskwarrior-tui error]: {}. Please report as a github issue on https://github.com/kdheepak/taskwarrior-tui", error
|
||||
);
|
||||
}
|
||||
std::process::exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue