Skip to content

Commit 33830b7

Browse files
committed
🐛fix: still fixing colors
1 parent 9f2e291 commit 33830b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/modules/git/git.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ impl CommitHelper {
214214
fn select_commit_type(theme: &dyn Theme) -> Result<(&'static str, Color), std::io::Error> {
215215
let items = COMMIT_TYPES
216216
.iter()
217-
.map(|(t, d, c)| format!("{}: {}", t.color(*c), d))
217+
.map(|(t, d, c, _emoji)| format!("{}: {}", t.color(*c), d))
218218
.collect::<Vec<_>>();
219219

220220
let selection = Select::with_theme(theme)
@@ -332,7 +332,7 @@ pub fn handle(args: GitArgs) {
332332
rebase,
333333
}) => match CommitHelper::interactive_commit() {
334334
Ok(msg) => {
335-
println!("\n{} Commit message:\n{}", "✏️".cyan(), msg.cyan());
335+
println!("\n{} Commit message:\n{}", "✏️".cyan(), msg);
336336
msg
337337
}
338338
Err(e) => {

0 commit comments

Comments
 (0)