pinokiod 1.3.73 → 1.3.75
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/environment.js +7 -0
- package/package.json +1 -1
package/kernel/environment.js
CHANGED
|
@@ -258,6 +258,13 @@ const init_folders = async (homedir) => {
|
|
|
258
258
|
const current_env = await get(homedir)
|
|
259
259
|
for(let key in current_env) {
|
|
260
260
|
let val = current_env[key]
|
|
261
|
+
|
|
262
|
+
console.log({ key, val })
|
|
263
|
+
// skip condarc and pipconfig => special case
|
|
264
|
+
if (["PIP_CONFIG_FILE", "CONDARC"].includes(key)) {
|
|
265
|
+
console.log("IGNORE", key)
|
|
266
|
+
continue
|
|
267
|
+
}
|
|
261
268
|
let is_absolute = path.isAbsolute(val)
|
|
262
269
|
let is_relative = val.startsWith("./")
|
|
263
270
|
if (is_absolute || is_relative) {
|