fix dumb mistake

turns out I'm dumb
This commit is contained in:
Lilian Jónsdóttir 2024-03-14 09:54:12 -07:00
parent e6711c65fc
commit 80dff639a1

View file

@ -115,7 +115,7 @@ func before(ctx *cli.Context) error {
// load config from file
_, err := os.Open(configFile)
if err != nil && !errors.Is(err, os.ErrNotExist) {
if err != nil && errors.Is(err, os.ErrNotExist) {
// or not
logger.Debug("couldn't load config file", "file", configFile)
} else {