Skip to content

Commit 4df404f

Browse files
Fix: tests
1 parent 37852ae commit 4df404f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/parsing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func (t *expandTransformer) Transform(dst, src []byte, atEOF bool) (int, int, er
3232

3333
srcLen := len(src)
3434

35-
if t.tail.Len() > 0 {
35+
if t.tail != nil && t.tail.Len() > 0 {
3636
src = append(t.tail.Bytes(), src...)
3737
t.tail.Reset()
3838
}

0 commit comments

Comments
 (0)