Commit b56ed38026dfc7c379cbc8c7e440495e0a6733c0

Authored by xp.Huang
1 parent f78ff140

fix: 允许文件未找到,设置allowEmpty:true


(cherry picked from commit 8894b5a8)
Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -102,7 +102,7 @@ function copyFileUsageOssServer(cb) {
102 102 const outPath = './build/oss'
103 103
104 104 for (const filePath of copyFileList) {
105   - src(path.resolve(__dirname, filePath))
  105 + src(path.resolve(__dirname, filePath), {allowEmpty:true})
106 106 .pipe((dest(outPath)))
107 107 }
108 108
... ...