Skip to content

Commit 3a88cf9

Browse files
committed
fix: remove logical
1 parent 46e63bc commit 3a88cf9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

serverless.component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cos
2-
version: 0.2.1
2+
version: 0.2.2
33
author: 'Tencent Cloud, Inc.'
44
org: 'Tencent Cloud, Inc.'
55
description: Deploy Tencent COS.

src/serverless.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ class ServerlessComopnent extends Component {
101101
outputs.url = `${this.getDefaultProtocol(protocol)}://${bucket}.cos.${region}.myqcloud.com`
102102
}
103103

104-
this.state = inputs
104+
this.state = {
105+
region,
106+
bucket
107+
}
105108

106109
await this.save()
107110

0 commit comments

Comments
 (0)