diff --git a/internal/state/state.go b/internal/state/state.go index 06619360..574d05c6 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -64,7 +64,7 @@ func ReadConfig(path string) (*Config, error) { _, err := os.Stat(path) if err != nil { if os.IsNotExist(err) { - err = nil + return cfg, nil } return cfg, err }