pinokiod 2.1.64 → 2.2.0
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/index.js +2 -5
- package/package.json +1 -1
package/kernel/bin/index.js
CHANGED
|
@@ -192,10 +192,8 @@ class Bin {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
// init mods
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
this.mod = {}
|
|
198
|
-
this.installed = {}
|
|
195
|
+
if (!this.mod) this.mod = {}
|
|
196
|
+
if (!this.installed) this.installed = {}
|
|
199
197
|
for(let mod of this.mods) {
|
|
200
198
|
if (mod.mod.init) {
|
|
201
199
|
await mod.mod.init()
|
|
@@ -243,7 +241,6 @@ class Bin {
|
|
|
243
241
|
this.installed_initialized = false
|
|
244
242
|
|
|
245
243
|
//this.installed = {}
|
|
246
|
-
this.installed = {}
|
|
247
244
|
|
|
248
245
|
console.log("## check conda")
|
|
249
246
|
|