From 91e67b1eb8b4781fda5a166a0eafdb8a7cbfaf71 Mon Sep 17 00:00:00 2001 From: Rong <58057861+Rong5180@users.noreply.github.com> Date: Thu, 10 Mar 2022 10:24:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=20(#275)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: rongxwang --- src/modules/cos/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/cos/index.ts b/src/modules/cos/index.ts index f59581a..2cf73cb 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); From 74652ba39c33f3aa54d95ddbd6424f200f71bfdc Mon Sep 17 00:00:00 2001 From: slsplus Date: Thu, 10 Mar 2022 02:25:42 +0000 Subject: [PATCH 2/2] chore(release): version 2.23.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [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)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97c1721..8773ce4 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 833e130..7a189ac 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",