Skip to content

Commit 8ef925d

Browse files
author
dfounderliu
committed
增加多地域部署能力
1 parent 8ab12b5 commit 8ef925d

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
},
2525
"author": "Dfounderliu",
2626
"license": "Apache-2.0",
27-
"husky": {
28-
"hooks": {
29-
"pre-commit": "lint-staged",
30-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
31-
}
32-
},
3327
"lint-staged": {
3428
"**/*.{js,ts,tsx}": [
3529
"eslint --fix --ext .js,.ts,.tsx .",

serverless.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ class TencentTornado extends Component {
6969

7070
async remove(inputs = {}) {
7171
const Framework = await this.load('@serverless/tencent-framework')
72-
await Framework.remove(inputs)
72+
await Framework.remove({
73+
...inputs,
74+
...{
75+
framework: 'tornado'
76+
}
77+
})
7378
this.state = {}
7479
await this.save()
7580
return {}

0 commit comments

Comments
 (0)