diff --git a/bake/hclparser/gohcl/decode_test.go b/bake/hclparser/gohcl/decode_test.go index a532c69a3..d534ac5e9 100644 --- a/bake/hclparser/gohcl/decode_test.go +++ b/bake/hclparser/gohcl/decode_test.go @@ -413,11 +413,10 @@ func TestDecodeBody(t *testing.T) { } `hcl:"noodle,block"` }{}), func(gotI any) bool { - //nolint:misspell // Generating two diagnostics is good enough for this one. // (one for the missing noodle block and the other for // the JSON serialization detecting the missing level of - // heirarchy for the label.) + // hierarchy for the label.) return true }, 2, diff --git a/bake/hclparser/gohcl/schema.go b/bake/hclparser/gohcl/schema.go index 53f678a72..03ced5419 100644 --- a/bake/hclparser/gohcl/schema.go +++ b/bake/hclparser/gohcl/schema.go @@ -52,8 +52,7 @@ func ImpliedBodySchema(val any) (schema *hcl.BodySchema, partial bool) { switch { case field.Type.AssignableTo(exprType): - //nolint:misspell - // If we're decoding to hcl.Expression then absense can be + // If we're decoding to hcl.Expression then absence can be // indicated via a null value, so we don't specify that // the field is required during decoding. required = false