check: remove output mangling workaround
This commit is contained in:
parent
939b537c80
commit
13127f3f6b
1 changed files with 1 additions and 5 deletions
|
@ -315,11 +315,7 @@ func runCheck(ctx context.Context, opts CheckOptions, gopts GlobalOptions, args
|
||||||
for err := range errChan {
|
for err := range errChan {
|
||||||
errorsFound = true
|
errorsFound = true
|
||||||
if e, ok := err.(*checker.TreeError); ok {
|
if e, ok := err.(*checker.TreeError); ok {
|
||||||
var clean string
|
printer.E("error for tree %v:\n", e.ID.Str())
|
||||||
if stdoutCanUpdateStatus() {
|
|
||||||
clean = clearLine(0)
|
|
||||||
}
|
|
||||||
printer.E(clean+"error for tree %v:\n", e.ID.Str())
|
|
||||||
for _, treeErr := range e.Errors {
|
for _, treeErr := range e.Errors {
|
||||||
printer.E(" %v\n", treeErr)
|
printer.E(" %v\n", treeErr)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue