Explorar el Código

修改打包脚本

huqi hace 6 años
padre
commit
c726c51974
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     }
 }