@cloudbase/cli 1.12.1-beta → 1.12.3-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/tcb.js +2 -2
- package/package.json +2 -2
package/bin/tcb.js
CHANGED
|
@@ -84,7 +84,7 @@ if (yargs.argv._.length === 0) {
|
|
|
84
84
|
// 处理无效命令
|
|
85
85
|
program.action((command) => {
|
|
86
86
|
const args = command.args
|
|
87
|
-
if (!args.length) {
|
|
87
|
+
if (!Array.isArray(args) || !args.length) {
|
|
88
88
|
return
|
|
89
89
|
}
|
|
90
90
|
const cmd = args.join(' ')
|
|
@@ -146,7 +146,7 @@ function errorHandler(err) {
|
|
|
146
146
|
if (errMsg.includes('Environment') && errMsg.includes('not found')) {
|
|
147
147
|
console.log(
|
|
148
148
|
chalk.yellow.bold(
|
|
149
|
-
'\n
|
|
149
|
+
'\n此环境可能不属于当前账号,或为非上海地域环境,如需切换地域请追加参数(例:-r gz),请检查环境归属,参考多地域使用方法:https://docs.cloudbase.net/cli-v1/region.html'
|
|
150
150
|
)
|
|
151
151
|
)
|
|
152
152
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/cli",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.3-beta",
|
|
4
4
|
"description": "cli tool for cloudbase",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@cloudbase/cloud-api": "^0.4.0",
|
|
33
33
|
"@cloudbase/framework-core": "^1.6.1",
|
|
34
34
|
"@cloudbase/lowcode-cli": "^0.12.2",
|
|
35
|
-
"@cloudbase/manager-node": "3.12.
|
|
35
|
+
"@cloudbase/manager-node": "3.12.1",
|
|
36
36
|
"@cloudbase/toolbox": "^0.7.2",
|
|
37
37
|
"@sentry/node": "^5.10.2",
|
|
38
38
|
"address": "^1.1.2",
|