Skip to content

Commit c0c4d59

Browse files
committed
fix indenting by removing formatting on the config str
1 parent cc8d008 commit c0c4d59

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/plumbing/progress.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use std::fmt::{Display, Formatter};
22

3-
use crosstermion::crossterm::style::Stylize;
43
use owo_colors::OwoColorize;
54

65
#[derive(Clone)]
@@ -46,7 +45,7 @@ impl Display for Usage {
4645
impl Usage {
4746
pub fn icon(&self) -> &'static str {
4847
match self {
49-
Puzzled => "?",
48+
Puzzled => "",
5049
NotApplicable { .. } => "❌",
5150
Planned { .. } => "🕒",
5251
NotPlanned { .. } => "🤔",
@@ -546,11 +545,10 @@ pub fn show_progress() -> anyhow::Result<()> {
546545
"{icon} {config: <50}: {usage}",
547546
icon = usage.icon(),
548547
config = if let Some(config) = config.strip_prefix("gitoxide.") {
549-
format!("{gitoxide}{config}", gitoxide = "gitoxide.".green())
548+
format!("{gitoxide}{config}", gitoxide = "gitoxide.")
550549
} else {
551550
config.to_string()
552551
}
553-
.bold(),
554552
);
555553
}
556554

0 commit comments

Comments
 (0)