Fixing formatting

This commit is contained in:
Mike Farah 2025-12-08 09:42:48 +11:00
parent 6c4d1bd066
commit 42f2436e1f
2 changed files with 73 additions and 72 deletions

View File

@ -184,7 +184,8 @@ func (he *hclEncoder) encodeNode(body *hclwrite.Body, node *CandidateNode) error
return err
}
continue
} else {
}
// Render as attribute: key = value
// Check the style to determine how to encode strings
if valueNode.Kind == ScalarNode && valueNode.Tag == "!!str" {
@ -268,7 +269,6 @@ func (he *hclEncoder) encodeNode(body *hclwrite.Body, node *CandidateNode) error
body.SetAttributeValue(key, ctyValue)
}
}
}
return nil
}

View File

@ -275,3 +275,4 @@ nohcl
zclconf
cty
go-cty
unlabeled