Commit dc3aa56e5c7865b89462c9f33350e7f6cc8bfdc4

Authored by xp.Huang
2 parents f78ff140 b56ed380

Merge branch 'cherry-pick-8894b5a8' into 'main'

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

See merge request yunteng/thingskit-scada!74
Showing 1 changed file with 1 additions and 1 deletions
@@ -102,7 +102,7 @@ function copyFileUsageOssServer(cb) { @@ -102,7 +102,7 @@ function copyFileUsageOssServer(cb) {
102 const outPath = './build/oss' 102 const outPath = './build/oss'
103 103
104 for (const filePath of copyFileList) { 104 for (const filePath of copyFileList) {
105 - src(path.resolve(__dirname, filePath)) 105 + src(path.resolve(__dirname, filePath), {allowEmpty:true})
106 .pipe((dest(outPath))) 106 .pipe((dest(outPath)))
107 } 107 }
108 108