diff --git a/CHANGELOG.md b/CHANGELOG.md index 97c17219..8773ce43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.23.3](https://github.com/serverless-tencent/tencent-component-toolkit/compare/v2.23.2...v2.23.3) (2022-03-10) + + +### Bug Fixes + +* 修复文件上传 ([#275](https://github.com/serverless-tencent/tencent-component-toolkit/issues/275)) ([91e67b1](https://github.com/serverless-tencent/tencent-component-toolkit/commit/91e67b1eb8b4781fda5a166a0eafdb8a7cbfaf71)) + ## [2.23.2](https://github.com/serverless-tencent/tencent-component-toolkit/compare/v2.23.1...v2.23.2) (2022-02-17) diff --git a/package.json b/package.json index 833e1309..7a189ac7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tencent-component-toolkit", - "version": "2.23.2", + "version": "2.23.3", "description": "Tencent component toolkit", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/modules/cos/index.ts b/src/modules/cos/index.ts index f59581a8..2cf73cb1 100644 --- a/src/modules/cos/index.ts +++ b/src/modules/cos/index.ts @@ -529,7 +529,7 @@ export default class Cos { const item = items[i]; // 如果是文件夹跳过 if (item.stats.isDirectory()) { - return; + continue; } key = path.relative(inputs.dir!, item.path);