Merge pull request #236 from jmorganca/check-os-walk

check os.Walk err
This commit is contained in:
Michael Yang 2023-07-28 14:14:21 -07:00 committed by GitHub
commit eadee46840
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -591,6 +591,10 @@ func DeleteModel(name string) error {
return nil
})
if err != nil {
return err
}
// only delete the files which are still in the deleteMap
for k, v := range deleteMap {
if v {