pinokiod 3.2.88 → 3.2.89
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/kernel/index.js +1 -6
- package/kernel/shell.js +1 -0
- package/package.json +1 -1
package/kernel/index.js
CHANGED
|
@@ -338,14 +338,11 @@ class Kernel {
|
|
|
338
338
|
// let contents = await fs.promises.readdir(this.homedir)
|
|
339
339
|
//await this.bin.init()
|
|
340
340
|
let ts = Date.now()
|
|
341
|
-
console.time("bin.init " + ts)
|
|
342
341
|
this.bin.init().then(() => {
|
|
343
|
-
console.
|
|
342
|
+
console.log("bin init finished")
|
|
344
343
|
})
|
|
345
344
|
let ts2 = Date.now()
|
|
346
|
-
console.time("api.init " + ts2)
|
|
347
345
|
await this.api.init()
|
|
348
|
-
console.timeEnd("api.init " + ts2)
|
|
349
346
|
|
|
350
347
|
//await this.shell.init()
|
|
351
348
|
|
|
@@ -406,9 +403,7 @@ class Kernel {
|
|
|
406
403
|
*/
|
|
407
404
|
console.log("> 4")
|
|
408
405
|
let ts3 = Date.now()
|
|
409
|
-
console.time("shell.init " + ts3)
|
|
410
406
|
this.shell.init().then(() => {
|
|
411
|
-
console.timeEnd("shell.init" + ts3)
|
|
412
407
|
if (this.envs) {
|
|
413
408
|
this.template.update({
|
|
414
409
|
env: this.envs,
|
package/kernel/shell.js
CHANGED