Fixes module id coloring on Maven transfer. (#686)

* Fixes module id coloring on Maven transfer.

The module id coloring was not consistent during transfer
and it caused "vibrating" effect.

* PR comments
This commit is contained in:
Tamas Cservenak
2022-09-20 10:09:49 +02:00
committed by GitHub
parent 5dce72ef33
commit 641ad93da3

View File

@@ -767,11 +767,14 @@ public class TerminalOutput implements ClientOutput {
if (transfer != null) {
asb
.append(':')
.style(CYAN_FOREGROUND)
.append(String.format(artifactIdFormat, prj.id))
.style(AttributedStyle.DEFAULT)
.append(transfer);
} else if (execution == null) {
asb
.append(':')
.style(CYAN_FOREGROUND)
.append(prj.id);
} else {
asb