Skip to content

Commit

Permalink
chore: fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Oct 16, 2024
1 parent 9803535 commit 24f7739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devenv-tasks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ impl TasksUi {
.max(1)
)
);
if tasks_status.lines.len() > 0 {
if !tasks_status.lines.is_empty() {
let output = console::Style::new().apply_to(output);
if last_list_height > 0 {
term.move_cursor_up(last_list_height as usize)?;
Expand Down

0 comments on commit 24f7739

Please sign in to comment.