瀏覽代碼

Retry Clean

sebastien 6 年之前
父節點
當前提交
70136346a2
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      Tools/Gulp/helpers/gulp-rmDir.js

+ 6 - 1
Tools/Gulp/helpers/gulp-rmDir.js

@@ -23,4 +23,9 @@ var rmDir = function(dirPath) {
     fs.rmdirSync(dirPath);
 }
 
-module.exports = rmDir;
+module.exports = function(dirPath) {
+    // Retry :-)
+    rmDir(dirPath);
+    rmDir(dirPath);
+    rmDir(dirPath);
+};