mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-06 21:55:37 +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
|
return err
|
||||||
}
|
}
|
||||||
continue
|
continue
|
||||||
} else {
|
}
|
||||||
|
|
||||||
// Render as attribute: key = value
|
// Render as attribute: key = value
|
||||||
// Check the style to determine how to encode strings
|
// Check the style to determine how to encode strings
|
||||||
if valueNode.Kind == ScalarNode && valueNode.Tag == "!!str" {
|
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)
|
body.SetAttributeValue(key, ctyValue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -275,3 +275,4 @@ nohcl
|
|||||||
zclconf
|
zclconf
|
||||||
cty
|
cty
|
||||||
go-cty
|
go-cty
|
||||||
|
unlabeled
|
||||||
Loading…
Reference in New Issue
Block a user