@indra.ai/deva.wall 0.0.5 → 0.0.6
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/index.js +3 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -60,12 +60,12 @@ const WALL = new Deva({
|
|
|
60
60
|
`created: ${created}`,
|
|
61
61
|
`md5: ${md5}`,
|
|
62
62
|
`sha256:${sha256}`,
|
|
63
|
-
`sha512:${sha512}
|
|
63
|
+
`sha512:${sha512}`,
|
|
64
64
|
`::end:wall:${id}`,
|
|
65
65
|
].join('\n');
|
|
66
66
|
|
|
67
67
|
// stub for later features right now just echo into the system process for SIGINT monitoring.
|
|
68
|
-
const echo = spawn('echo', echostr)
|
|
68
|
+
const echo = spawn('echo', [echostr])
|
|
69
69
|
echo.stderr.on('data', err => {
|
|
70
70
|
this.error(err, opts);
|
|
71
71
|
});
|
|
@@ -76,12 +76,7 @@ const WALL = new Deva({
|
|
|
76
76
|
},
|
|
77
77
|
methods: {},
|
|
78
78
|
onReady(data, resolve) {
|
|
79
|
-
this.prompt(this.vars.messages.ready);
|
|
80
|
-
this.vars.userinfo = this.lib.os.userInfo();
|
|
81
|
-
|
|
82
|
-
console.log('userinfo', this.vars.userinfo);
|
|
83
|
-
return resolve(data);
|
|
84
|
-
|
|
79
|
+
this.prompt(this.vars.messages.ready);
|
|
85
80
|
},
|
|
86
81
|
onError(data, err, reject) {
|
|
87
82
|
this.prompt(this.vars.messages.error);
|