@snyk/java-call-graph-builder
Advanced tools
Comparing version 1.23.1 to 1.23.2
@@ -10,9 +10,10 @@ "use strict"; | ||
const errors_1 = require("./errors"); | ||
const fs = require("fs"); | ||
const tmp = require("tmp"); | ||
function getGradleCommandArgs(targetPath, initScript, confAttrs) { | ||
const gradleArgs = [ | ||
'printClasspath', | ||
'-I', | ||
path.join(__dirname, ...'../bin/init.gradle'.split('/')), | ||
'-q', | ||
]; | ||
// For binary releases, the original file would be in the binary build and inaccesible | ||
const originalPath = path.join(__dirname, ...'../bin/init.gradle'.split('/')); | ||
const tmpFilePath = tmp.fileSync().name; | ||
fs.copyFileSync(originalPath, tmpFilePath); | ||
const gradleArgs = ['printClasspath', '-I', tmpFilePath, '-q']; | ||
if (targetPath) { | ||
@@ -19,0 +20,0 @@ gradleArgs.push('-p', targetPath); |
@@ -72,3 +72,3 @@ { | ||
}, | ||
"version": "1.23.1" | ||
"version": "1.23.2" | ||
} |
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
77508
981
6