Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25365a0

Browse files
committed
Fix compilation errors when building build-small-yq
1 parent 4080883 commit 25365a0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/yqlib/no_ini.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ func NewINIDecoder() Decoder {
66
return nil
77
}
88

9-
func NewINIEncoder(indent int) Encoder {
9+
func NewINIEncoder() Encoder {
1010
return nil
1111
}

pkg/yqlib/no_json.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ func NewJSONDecoder() Decoder {
66
return nil
77
}
88

9-
func NewJSONEncoder(indent int, colorise bool, unwrapScalar bool) Encoder {
9+
func NewJSONEncoder(prefs JsonPreferences) Encoder {
1010
return nil
1111
}

pkg/yqlib/no_xml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ func NewXMLDecoder(prefs XmlPreferences) Decoder {
66
return nil
77
}
88

9-
func NewXMLEncoder(indent int, prefs XmlPreferences) Encoder {
9+
func NewXMLEncoder(prefs XmlPreferences) Encoder {
1010
return nil
1111
}

0 commit comments

Comments
 (0)