snyk-gradle-plugin
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -121,6 +121,13 @@ var os = require('os'); | ||
if (/\s/.test(targetFile)) { // checking for whitespaces | ||
formattedTargetFile = '\'' + targetFile + '\''; | ||
var isWin = /^win/.test(os.platform()); | ||
var quot = isWin ? '"' : '\''; | ||
formattedTargetFile = quot + targetFile + quot; | ||
} | ||
args.push(formattedTargetFile); | ||
} | ||
// For some reason, this is not required for Unix, but on Windows, without this flag, apparently, | ||
// Gradle process just never exits, from the Node's standpoint. | ||
args.push('--no-daemon'); | ||
if (gradleArgs) { | ||
@@ -127,0 +134,0 @@ args = args.concat(gradleArgs); |
@@ -14,3 +14,3 @@ { | ||
"scripts": { | ||
"test": "npm run lint && npm run test-functional", | ||
"test": "npm run lint && npm run test-functional && npm run test-system", | ||
"lint": "eslint -c .eslintrc lib test", | ||
@@ -32,3 +32,3 @@ "test-functional": "tap -R spec ./test/functional/*.test.js", | ||
}, | ||
"version": "2.2.0" | ||
"version": "2.2.1" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20158
345