We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37852ae commit 4df404fCopy full SHA for 4df404f
config/parsing.go
@@ -32,7 +32,7 @@ func (t *expandTransformer) Transform(dst, src []byte, atEOF bool) (int, int, er
32
33
srcLen := len(src)
34
35
- if t.tail.Len() > 0 {
+ if t.tail != nil && t.tail.Len() > 0 {
36
src = append(t.tail.Bytes(), src...)
37
t.tail.Reset()
38
}
0 commit comments