Skip to content

Commit

Permalink
shorten even more
Browse files Browse the repository at this point in the history
  • Loading branch information
sesi200 committed Jan 22, 2025
1 parent 1465985 commit 1e8895c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dfx/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ fn print_error_and_diagnosis(log_level: Option<i64>, err: Error, error_diagnosis
stderr
.fg(term::color::YELLOW)
.expect("Failed to set stderr output color.");
writeln!(stderr, "How to resolve the error:").expect("Failed to write to stderr.");
write!(stderr, "To fix: ").expect("Failed to write to stderr.");
stderr
.reset()
.expect("Failed to reset stderr output color.");
Expand Down

0 comments on commit 1e8895c

Please sign in to comment.