pinokiod 2.15.65 → 2.15.66

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.
@@ -202,9 +202,11 @@ class Bin {
202
202
 
203
203
  // write to pipconfig if it doesn't exist
204
204
  if (this.kernel.homedir) {
205
- this.refreshInstalled().catch((e) => {
205
+ try {
206
+ await this.refreshInstalled()
207
+ } catch (e) {
206
208
  console.log("RefreshInstalled Error", e)
207
- })
209
+ }
208
210
  let pipconfig_path = path.resolve(this.kernel.homedir, "pipconfig")
209
211
  let pipconfig_exists = await this.kernel.api.exists(pipconfig_path)
210
212
  // if not, create one
@@ -477,7 +479,7 @@ class Bin {
477
479
  }
478
480
  }
479
481
  }
480
- this.init()
482
+ await this.init()
481
483
  }
482
484
  async sh(params, ondata) {
483
485
  let response = await this.kernel.shell.run(params, null, ondata)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "2.15.65",
3
+ "version": "2.15.66",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {