mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
command/views: Remove extra newline in validate output (#764)
Signed-off-by: William Yardley <wyardley@users.noreply.github.com>
This commit is contained in:
parent
ceaa079937
commit
f96cb50405
@ -63,9 +63,9 @@ func (v *ValidateHuman) Results(diags tfdiags.Diagnostics) int {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
const validateSuccess = "[green][bold]Success![reset] The configuration is valid.\n"
|
const validateSuccess = "[green][bold]Success![reset] The configuration is valid."
|
||||||
|
|
||||||
const validateWarnings = "[green][bold]Success![reset] The configuration is valid, but there were some validation warnings as shown above.\n"
|
const validateWarnings = "[green][bold]Success![reset] The configuration is valid, but there were some validation warnings as shown above."
|
||||||
|
|
||||||
func (v *ValidateHuman) Diagnostics(diags tfdiags.Diagnostics) {
|
func (v *ValidateHuman) Diagnostics(diags tfdiags.Diagnostics) {
|
||||||
v.view.Diagnostics(diags)
|
v.view.Diagnostics(diags)
|
||||||
|
Loading…
Reference in New Issue
Block a user