minor updates from review

This commit is contained in:
Dustin J. Mitchell
2021-06-01 09:23:36 -04:00
parent b18701c3cb
commit ac6b020b6d
3 changed files with 12 additions and 12 deletions

View File

@@ -36,8 +36,8 @@ pub(crate) fn execute<W: WriteColor>(
tags.sort();
t.add_row(row![b->"Tags", tags.join(" ")]);
}
if task.is_waiting() {
t.add_row(row![b->"Wait", task.get_wait().unwrap()]);
if let Some(wait) = task.get_wait() {
t.add_row(row![b->"Wait", wait]);
}
}
t.print(w)?;