Skip to content

Commit 4b9ffcf

Browse files
committed
Minor translation fix
1 parent 275c226 commit 4b9ffcf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

translate.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ func TranslateBadFieldFormats(fields []Valuereplace, skipLiquid ...bool) []Value
261261
for fieldIndex, _ := range fields {
262262
field := fields[fieldIndex]
263263
if !skipLiquidCheck && (!strings.Contains(field.Value, "{{") || !strings.Contains(field.Value, "}}")) {
264-
log.Printf("[DEBUG] Schemaless: No Liquid format found in field value '%s', skipping.", field.Value)
264+
//log.Printf("[DEBUG] Schemaless: No Liquid format found in field value '%s', skipping.", field.Value)
265265
continue
266266
}
267267

@@ -281,8 +281,6 @@ func TranslateBadFieldFormats(fields []Valuereplace, skipLiquid ...bool) []Value
281281

282282
stringBuild := "$"
283283
for _, match := range matches {
284-
log.Printf("MATCH: %#v", match)
285-
286284
for i, matchValue := range match {
287285
if i == 0 {
288286
continue
@@ -325,7 +323,6 @@ func TranslateBadFieldFormats(fields []Valuereplace, skipLiquid ...bool) []Value
325323
stringBuild += matchValue
326324
}
327325

328-
log.Printf("VALUE: %#v", field.Value)
329326
if len(match) > 1 {
330327
field.Value = strings.ReplaceAll(field.Value, match[0], stringBuild)
331328
fields[fieldIndex].Value = field.Value

0 commit comments

Comments
 (0)