From 25365a0f0ba69244be10ce5dd10444d227660365 Mon Sep 17 00:00:00 2001 From: Zue Date: Tue, 1 Jul 2025 13:26:26 +0800 Subject: [PATCH] Fix compilation errors when building build-small-yq --- pkg/yqlib/no_ini.go | 2 +- pkg/yqlib/no_json.go | 2 +- pkg/yqlib/no_xml.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/yqlib/no_ini.go b/pkg/yqlib/no_ini.go index ef1ae8f8..df89b97c 100644 --- a/pkg/yqlib/no_ini.go +++ b/pkg/yqlib/no_ini.go @@ -6,6 +6,6 @@ func NewINIDecoder() Decoder { return nil } -func NewINIEncoder(indent int) Encoder { +func NewINIEncoder() Encoder { return nil } diff --git a/pkg/yqlib/no_json.go b/pkg/yqlib/no_json.go index ae9d531a..6e115573 100644 --- a/pkg/yqlib/no_json.go +++ b/pkg/yqlib/no_json.go @@ -6,6 +6,6 @@ func NewJSONDecoder() Decoder { return nil } -func NewJSONEncoder(indent int, colorise bool, unwrapScalar bool) Encoder { +func NewJSONEncoder(prefs JsonPreferences) Encoder { return nil } diff --git a/pkg/yqlib/no_xml.go b/pkg/yqlib/no_xml.go index d3f96bb6..c1a850ad 100644 --- a/pkg/yqlib/no_xml.go +++ b/pkg/yqlib/no_xml.go @@ -6,6 +6,6 @@ func NewXMLDecoder(prefs XmlPreferences) Decoder { return nil } -func NewXMLEncoder(indent int, prefs XmlPreferences) Encoder { +func NewXMLEncoder(prefs XmlPreferences) Encoder { return nil }