Commit 8894b5a8f81fac25cfb0391689a3b7b6b180dba6

Authored by xp.Huang
1 parent 3010d5b2

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

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
... ...