mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-07 14:25:38 +00:00
Fixing formatting
This commit is contained in:
parent
6c4d1bd066
commit
42f2436e1f
@ -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
|
||||
}
|
||||
|
||||
|
||||
@ -275,3 +275,4 @@ nohcl
|
||||
zclconf
|
||||
cty
|
||||
go-cty
|
||||
unlabeled
|
||||
Loading…
Reference in New Issue
Block a user