mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 17:57:19 +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) => {
|
Err(error) => {
|
||||||
if error.to_string().to_lowercase().contains("no such file or directory") {
|
if error.to_string().to_lowercase().contains("no such file or directory") {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"{}: Unable to find executable `task`: {}. Check that taskwarrior is installed correctly and try again.",
|
"[taskwarrior-tui error]: Unable to find executable `task`: {}. Check that taskwarrior is installed correctly and try again.", error
|
||||||
"[taskwarrior-tui error]", error
|
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"{}: {}. Please report as a github issue on https://github.com/kdheepak/taskwarrior-tui",
|
"[taskwarrior-tui error]: {}. Please report as a github issue on https://github.com/kdheepak/taskwarrior-tui", error
|
||||||
"[taskwarrior-tui error]", error
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
std::process::exit(1);
|
std::process::exit(1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue