pinokiod 3.3.44 → 3.3.45
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/vs.js +3 -2
- package/package.json +1 -1
package/kernel/bin/vs.js
CHANGED
|
@@ -101,9 +101,9 @@ class VS {
|
|
|
101
101
|
}
|
|
102
102
|
*/
|
|
103
103
|
this._env = await this.getpaths()
|
|
104
|
-
if (this.
|
|
104
|
+
if (this._env.BUILD_PATH.length > 0) {
|
|
105
105
|
// look for vcvarsall
|
|
106
|
-
for(let p of this.
|
|
106
|
+
for(let p of this._env.BUILD_PATH) {
|
|
107
107
|
let vcvars_path = path.resolve(p, "vcvarsall.bat")
|
|
108
108
|
const e = await this.kernel.bin.exists(vcvars_path)
|
|
109
109
|
console.log("> vcvarsall.bat path exists?", { vcvars_path, e })
|
|
@@ -113,6 +113,7 @@ class VS {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
+
console.log("vs.init() this._env=", this.env)
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
119
|
env () {
|