Sfoglia il codice sorgente

修改打包脚本

huqi 6 anni fa
parent
commit
c726c51974
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
     }
 }