diff --git a/config/config.go b/config/config.go index 7c5ec926..3a472259 100644 --- a/config/config.go +++ b/config/config.go @@ -315,11 +315,6 @@ func (c Config) ValidateOnTui() bool { if err := validateDB("cvedb", c.CveDict.Type, c.CveDict.SQLite3Path, c.CveDict.URL); err != nil { errs = append(errs, err) } - if c.CveDict.Type == "sqlite3" { - if _, err := os.Stat(c.CveDict.SQLite3Path); os.IsNotExist(err) { - errs = append(errs, xerrors.Errorf("SQLite3 DB path (%s) is not exist: %s", "cvedb", c.CveDict.SQLite3Path)) - } - } for _, err := range errs { log.Error(err)