|
@@ -58,7 +58,7 @@ class saveOssGitte {
|
|
|
);
|
|
|
console.log("oss文件清除---完成");
|
|
|
try {
|
|
|
- this.getFiles(path.resolve(__dirname, "./" + this.localDir));
|
|
|
+ await this.getFiles(path.resolve(__dirname, "./" + this.localDir));
|
|
|
console.log("数据上传oss---完成");
|
|
|
} catch (err) {
|
|
|
console.log("数据上传oss---失败");
|