From 86f3f77b8cbb6c18e6f12f0f2c940e160515dd69 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Mon, 8 Dec 2025 12:50:08 +1100 Subject: [PATCH] Update pkg/yqlib/format.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- pkg/yqlib/format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/yqlib/format.go b/pkg/yqlib/format.go index 442eabf1..811047d5 100644 --- a/pkg/yqlib/format.go +++ b/pkg/yqlib/format.go @@ -67,7 +67,7 @@ var TomlFormat = &Format{"toml", []string{}, func() Decoder { return NewTomlDecoder() }, } -var HclFormat = &Format{"hcl", []string{"h", "hcl"}, +var HclFormat = &Format{"hcl", []string{"h"}, func() Encoder { return NewHclEncoder(ConfiguredHclPreferences) }, func() Decoder { return NewHclDecoder() }, }