check os.Walk err
This commit is contained in:
parent
fc40a4f166
commit
bd58528fbd
|
@ -592,6 +592,10 @@ func DeleteModel(name string) error {
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
// only delete the files which are still in the deleteMap
|
// only delete the files which are still in the deleteMap
|
||||||
for k, v := range deleteMap {
|
for k, v := range deleteMap {
|
||||||
if v {
|
if v {
|
||||||
|
|
Loading…
Reference in a new issue