Skip to content

Commit

Permalink
fixed dropped value
Browse files Browse the repository at this point in the history
  • Loading branch information
Arteiii committed Feb 6, 2025
1 parent 232dca6 commit f4b2f6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lychee-bin/src/commands/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ where
accept,
));

let formatter_default = OutputMode::default();

let formatter = get_response_formatter(if matches!(params.cfg.mode, OutputMode::Task) {
&OutputMode::default()
&formatter_default
} else {
&params.cfg.mode
});
Expand Down

0 comments on commit f4b2f6e

Please sign in to comment.