I think wolfictl might have a bug around here (or maybe when it trims the suffix?) if the filename is like py3-ruamel.yaml.yaml.
I noticed during this CI failure. This basically causes the wrong filename (py3-ruamel.yaml instead of py3-ruamel.yaml.yaml) to get passed into os.ReadFile.
Description
I think
wolfictl
might have a bug around here (or maybe when it trims the suffix?) if the filename is likepy3-ruamel.yaml.yaml
.I noticed during this CI failure. This basically causes the wrong filename (
py3-ruamel.yaml
instead ofpy3-ruamel.yaml.yaml
) to get passed intoos.ReadFile
.Here's a simple PoC: https://go.dev/play/p/yAUSuMaR6TQ