pinokiod 3.19.71 → 3.19.72

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.
Files changed (2) hide show
  1. package/kernel/index.js +3 -0
  2. package/package.json +1 -1
package/kernel/index.js CHANGED
@@ -604,10 +604,12 @@ class Kernel {
604
604
  }
605
605
  }
606
606
  which(name, pattern) {
607
+ console.log("Which", { name, pattern })
607
608
  if (this.platform === "win32") {
608
609
  try {
609
610
  const result = execSync(`where ${name}`, { env: this.envs, encoding: "utf-8" })
610
611
  const lines = result.trim().split("\r\n")
612
+ console.log({ result, lines })
611
613
  if (pattern) {
612
614
  let match = null
613
615
  for(let line of lines) {
@@ -627,6 +629,7 @@ class Kernel {
627
629
  }
628
630
  }
629
631
  } catch (e) {
632
+ console.log("Error", e)
630
633
  return null
631
634
  }
632
635
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.19.71",
3
+ "version": "3.19.72",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {