pinokiod 1.2.11 → 1.2.12
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/shell.js +8 -8
- package/package.json +1 -1
package/kernel/shell.js
CHANGED
|
@@ -490,21 +490,21 @@ class Shell {
|
|
|
490
490
|
if (params.conda.skip) {
|
|
491
491
|
// do nothing
|
|
492
492
|
} else {
|
|
493
|
-
if (typeof conda === "string") {
|
|
494
|
-
conda_path = conda
|
|
493
|
+
if (typeof params.conda === "string") {
|
|
494
|
+
conda_path = params.conda
|
|
495
495
|
} else {
|
|
496
496
|
// conda_path
|
|
497
|
-
if (conda.path) {
|
|
498
|
-
conda_path = conda.path
|
|
499
|
-
} else if (conda.name) {
|
|
500
|
-
conda_name = conda.name
|
|
497
|
+
if (params.conda.path) {
|
|
498
|
+
conda_path = params.conda.path
|
|
499
|
+
} else if (params.conda.name) {
|
|
500
|
+
conda_name = params.conda.name
|
|
501
501
|
} else {
|
|
502
502
|
throw new Error("when specifying conda as an object, the conda.name or conda.path must exist")
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
// conda_python
|
|
506
|
-
if (conda.python) {
|
|
507
|
-
conda_python = conda.python
|
|
506
|
+
if (params.conda.python) {
|
|
507
|
+
conda_python = params.conda.python
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
}
|