command/format: revert indentation change for consistency's sake
This commit is contained in:
parent
db26324b3c
commit
3cf1b001c2
|
@ -146,9 +146,9 @@ func formatStateModule(
|
||||||
for name := range schema.Attributes {
|
for name := range schema.Attributes {
|
||||||
attr := ctyGetAttrMaybeNull(val.Value, name)
|
attr := ctyGetAttrMaybeNull(val.Value, name)
|
||||||
if !attr.IsNull() {
|
if !attr.IsNull() {
|
||||||
p.buf.WriteString(fmt.Sprintf(" %s = ", name))
|
p.buf.WriteString(fmt.Sprintf(" %s = ", name))
|
||||||
attr := ctyGetAttrMaybeNull(val.Value, name)
|
attr := ctyGetAttrMaybeNull(val.Value, name)
|
||||||
p.writeValue(attr, plans.NoOp, 2)
|
p.writeValue(attr, plans.NoOp, 4)
|
||||||
p.buf.WriteString("\n")
|
p.buf.WriteString("\n")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue