diff options
Diffstat (limited to 'bp2build/build_conversion.go')
-rw-r--r-- | bp2build/build_conversion.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bp2build/build_conversion.go b/bp2build/build_conversion.go index 1d3b10550..a96a3fc7b 100644 --- a/bp2build/build_conversion.go +++ b/bp2build/build_conversion.go @@ -580,7 +580,9 @@ func prettyPrint(propertyValue reflect.Value, indent int, emitZeroValues bool) ( elements = append(elements, val) } } - return starlark_fmt.PrintList(elements, indent, "%s"), nil + return starlark_fmt.PrintList(elements, indent, func(s string) string { + return "%s" + }), nil case reflect.Struct: // Special cases where the bp2build sends additional information to the codegenerator |