Commit e16d9780 authored by Medicean's avatar Medicean

修复插件中心删除插件失败的问题

parent 093fd0d0
...@@ -113,7 +113,7 @@ class PlugStore { ...@@ -113,7 +113,7 @@ class PlugStore {
let _path = path.join(dir, _); let _path = path.join(dir, _);
// 如果是目录,则继续循环,否则删除 // 如果是目录,则继续循环,否则删除
if (fs.lstatSync(_path).isDirectory()) { if (fs.lstatSync(_path).isDirectory()) {
return _rmdir(_path); return this.rmdir(_path);
} }
fs.unlinkSync(_path); fs.unlinkSync(_path);
}); });
......
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