pinokiod 3.3.49 → 3.3.50

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/bin/vs.js +3 -4
  2. package/package.json +1 -1
package/kernel/bin/vs.js CHANGED
@@ -117,7 +117,7 @@ class VS {
117
117
  }
118
118
  }
119
119
  }
120
- console.log("vs.init() this._env=", this.env)
120
+ console.log("vs.init() this._env=", this._env)
121
121
  }
122
122
  }
123
123
  env () {
@@ -127,10 +127,9 @@ class VS {
127
127
  }
128
128
  async installed() {
129
129
  if (this.kernel.platform === "win32") {
130
- let paths = await this.getpaths()
131
- console.log("VS INSTALLED CHECK", paths)
132
130
  await this.init()
133
- return paths.MSVC_PATH && paths.MSVC_PATH.length > 0 && paths.BUILD_PATH && paths.BUILD_PATH.length > 0 && paths.CMAKE_PATH && paths.CMAKE_PATH.length > 0 && paths.VCVARSALL_PATH && paths.VCVARSALL_PATH.length > 0
131
+ console.log("VS INSTALLED CHECK", this._env)
132
+ return this._env.MSVC_PATH && this._env.MSVC_PATH.length > 0 && this._env.BUILD_PATH && this._env.BUILD_PATH.length > 0 && this._env.CMAKE_PATH && this._env.CMAKE_PATH.length > 0 && this._env.VCVARSALL_PATH && this._env.VCVARSALL_PATH.length > 0
134
133
  }
135
134
  }
136
135
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.3.49",
3
+ "version": "3.3.50",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {