@lazycatcloud/lzc-cli 1.2.12 → 1.2.13
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/lib/shellapi.js +1 -1
- package/package.json +1 -1
package/lib/shellapi.js
CHANGED
|
@@ -24,7 +24,6 @@ class ShellApi {
|
|
|
24
24
|
constructor() {}
|
|
25
25
|
|
|
26
26
|
async init() {
|
|
27
|
-
this.info = await this.initBoxInfo();
|
|
28
27
|
const pbShell = this.initShell();
|
|
29
28
|
const { addr, cred } = this.readShellApiInfo();
|
|
30
29
|
this.client = new pbShell.ShellCore(
|
|
@@ -35,6 +34,7 @@ class ShellApi {
|
|
|
35
34
|
const md = new grpc.Metadata();
|
|
36
35
|
md.add("lzc-shellapi-cred", cred);
|
|
37
36
|
this.metadata = md;
|
|
37
|
+
this.info = await this.initBoxInfo();
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
get boxname() {
|