grunt-mstest
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "grunt-mstest", | ||
"description": "The best mstest Grunt plugin ever.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/mrjackdavis/grunt-mstest", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -89,2 +89,3 @@ # grunt-mstest | ||
## Release History | ||
_(Nothing yet)_ | ||
- 0.1.2 Fix issue where vstools 10 or 12 was not detected | ||
- 0.1.0 Initial release |
@@ -56,5 +56,16 @@ /* | ||
function getExePath() { | ||
var vsTools = process.env.VS110COMNTOOLS; | ||
//Possible env variables for visual studio tools, in order of priority | ||
var vsToolsArr = [process.env.VS120COMNTOOLS,process.env.VS110COMNTOOLS,process.env.VS100COMNTOOLS] | ||
if(vsTools === null || vsTools === "") | ||
//Get highest priority VS tools | ||
var vsTools = null; | ||
for (var i = vsToolsArr.length - 1; i >= 0; i--) { | ||
var item = vsToolsArr[i] | ||
if(item && item != ""){ | ||
vsTools = item; | ||
break; | ||
} | ||
}; | ||
if(!vsTools) | ||
grunt.fatal("Visual studio tools not installed") | ||
@@ -61,0 +72,0 @@ |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
180
91
53184
22
4