Skip to content

Commit 7345e36

Browse files
committed
fix linter
1 parent 2e9de57 commit 7345e36

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

internal/hcl/hcl.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,6 @@ func moveAttribute(fromAttrName, toAttrName string, fromBody, toBody *hclwrite.B
100100
return nil
101101
}
102102

103-
func setAttrExpr(body *hclwrite.Body, attrName, expression string) {
104-
tokens := hclwrite.Tokens{
105-
{Type: hclsyntax.TokenIdent, Bytes: []byte(expression)},
106-
}
107-
body.SetAttributeRaw(attrName, tokens)
108-
}
109-
110103
func setAttrInt(body *hclwrite.Body, attrName string, number int) {
111104
tokens := hclwrite.Tokens{
112105
{Type: hclsyntax.TokenNumberLit, Bytes: []byte(strconv.Itoa(number))},

0 commit comments

Comments
 (0)