Commit bd58528f authored by Michael Yang's avatar Michael Yang
Browse files

check os.Walk err

parent fc40a4f1
......@@ -592,6 +592,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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment