Closed samcoe closed 1 year ago
This PR changes the behavior when reading empty config files, previously we would return an ErrInvalidFormat and now we will return a blank yaml map. This fixes backwards compatibility where some cli users had blank host.yml files.
ErrInvalidFormat
host.yml
Fixes https://github.com/cli/cli/issues/5949
This PR changes the behavior when reading empty config files, previously we would return an
ErrInvalidFormat
and now we will return a blank yaml map. This fixes backwards compatibility where some cli users had blankhost.yml
files.Fixes https://github.com/cli/cli/issues/5949