Przeglądaj źródła

修改打包脚本

huqi 5 lat temu
rodzic
commit
c726c51974
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      o2server/gulpfile.js

+ 1 - 1
o2server/gulpfile.js

@@ -193,7 +193,7 @@ function getMoveTask(path){
 function getCleanTask(path){
     return function(cb){
         var dest = destDir+path+'/';
-        del(dest, cb);
+        del(dest, {"force": true}, cb);
     }
 }