mirror of https://github.com/helm/helm
YAMLReader can return EOF without yielding the last line when that line has no trailing newline and its length is a multiple of bufio's default buffer. Read the file fully and ensure a trailing newline before parsing so compact JSON values files are not silently ignored. Fixes #32506 Signed-off-by: Dean Chen <862469039@qq.com>pull/32525/head
parent
f3d68cdbea
commit
601445e88c
Loading…
Reference in new issue