Diff
1diff --git a/internal/config/config.go b/internal/config/config.go
2index f1c1ca31f0de50a71a737cf98d33dbf2127f89aa..86cbc52b734dc1281c6ed0f6debc59f5523aa2cf 100644
3--- a/internal/config/config.go
4+++ b/internal/config/config.go
5@@ -2,6 +2,8 @@ package config
6
7 import (
8 "bytes"
9+ "errors"
10+ "io/fs"
11 "log"
12 "path/filepath"
13 "strings"
14@@ -190,7 +192,7 @@ func (cfg *Config) createDefaultConfigRepo(yaml string) error {
15 rp := filepath.Join(cfg.Cfg.RepoPath, cn)
16 rs := cfg.Source
17 err := rs.LoadRepo(cn)
18- if os.IsNotExist(err) {
19+ if errors.Is(err, fs.ErrNotExist) {
20 log.Printf("creating default config repo %s", cn)
21 repo, err := ggit.PlainInit(rp, true)
22 if err != nil {