pinokiod 3.2.124 → 3.2.126
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/bin/conda.js +3 -2
- package/package.json +1 -1
package/kernel/bin/conda.js
CHANGED
|
@@ -96,7 +96,8 @@ create_default_packages:
|
|
|
96
96
|
})
|
|
97
97
|
|
|
98
98
|
console.log("CONDA", res.response)
|
|
99
|
-
lines = res.response.split(/[\r\n]+/)
|
|
99
|
+
let lines = res.response.split(/[\r\n]+/)
|
|
100
|
+
console.log({ lines })
|
|
100
101
|
let conda_check = {}
|
|
101
102
|
for(let line of lines) {
|
|
102
103
|
let chunks = line.split(/\s+/).filter(x => x)
|
|
@@ -156,7 +157,7 @@ create_default_packages:
|
|
|
156
157
|
const installer_url = this.urls[this.kernel.platform][this.kernel.arch]
|
|
157
158
|
const installer = this.installer[this.kernel.platform]
|
|
158
159
|
const install_path = this.kernel.bin.path("miniconda")
|
|
159
|
-
let install_path_exists = await this.kernel.exists("miniconda")
|
|
160
|
+
let install_path_exists = await this.kernel.exists("bin/miniconda")
|
|
160
161
|
if (install_path_exists) {
|
|
161
162
|
console.log("Install path already exists. Removing...", install_path)
|
|
162
163
|
await fs.promises.rm(install_path, { recursive: true }).catch((e) => {
|