mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-08 06:45:38 +00:00
PR comment
Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
This commit is contained in:
parent
d33870563a
commit
99d354462a
@ -125,7 +125,7 @@ func (dtp *DateTimePreprocessor) processKeyValueLine(line string, colonIndex int
|
||||
|
||||
// Skip if value is empty, quoted, or already complex
|
||||
if trimmedValue == "" ||
|
||||
strings.HasPrefix(trimmedValue, "\"") ||
|
||||
strings.HasPrefix(trimmedValue, `"`) ||
|
||||
strings.HasPrefix(trimmedValue, "'") ||
|
||||
strings.HasPrefix(trimmedValue, "{") ||
|
||||
strings.HasPrefix(trimmedValue, "[") ||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user