pinokiod 2.15.65 → 2.15.68

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.
@@ -140,6 +140,7 @@ create_default_packages:
140
140
  }, (stream) => {
141
141
  ondata(stream)
142
142
  })
143
+ console.log(">>>>>>>>>> Finished 'conda update-y --all'")
143
144
  if (this.kernel.platform === "win32") {
144
145
  // copy python.exe to python3.exe so you can run with both python3 and python
145
146
  await fs.promises.copyFile(
@@ -147,8 +148,10 @@ create_default_packages:
147
148
  this.kernel.bin.path("miniconda", "python3.exe"),
148
149
  )
149
150
  }
151
+ console.log(">>>>>>>>>> Finished 'copyFile'")
150
152
  ondata({ raw: `Install finished\r\n` })
151
- return this.kernel.bin.rm(installer, ondata)
153
+ await this.kernel.bin.rm(installer, ondata)
154
+ console.log(">>>>>>>>>> RM Finished")
152
155
  }
153
156
  async exists(pattern) {
154
157
  let paths = this.paths[this.kernel.platform]
@@ -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.68",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {