terraform/command/format
Katy Moe 51c687c2db command: no visual warning hierarchy in -no-color
Commit e865faf adds visual indentation for diagnostic messages using various
vertical line characters. The present commit disables this behaviour when
running with colourised output disabled.

While the contents of stderr are not intended to be part of the Terraform API,
this is currently how the hashicorp/terraform-exec library detects certain
error types in order to present them as well-known Go errors to the user. Such
detection is complicated when vertical lines are added to the CLI output at
unpredictable points.

I expect this change will also be helpful for screen reader users.
2021-01-27 09:26:53 -08:00
..
diagnostic.go command: no visual warning hierarchy in -no-color 2021-01-27 09:26:53 -08:00
diagnostic_test.go command: no visual warning hierarchy in -no-color 2021-01-27 09:26:53 -08:00
diff.go Merge pull request #27081 from hashicorp/jbardin/staticcheck 2020-12-02 15:43:10 -05:00
diff_test.go command/format: concise diff is now the default (#27079) 2020-12-02 15:42:41 -05:00
format.go
object_id.go
object_id_test.go
state.go Merge pull request #27081 from hashicorp/jbardin/staticcheck 2020-12-02 15:43:10 -05:00
state_test.go command: no visual warning hierarchy in -no-color 2021-01-27 09:26:53 -08:00
trivia.go command/format: Don't try to fill the last terminal column 2021-01-13 15:37:04 -08:00