snyk 1.911.0 → 1.914.0
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/dist/cli/479.index.js +3 -1
- package/dist/cli/479.index.js.map +1 -1
- package/dist/cli/784.index.js +3 -2
- package/dist/cli/784.index.js.map +1 -1
- package/dist/cli/thirdPartyNotice.json +2 -2
- package/help/cli-commands/code.md +4 -0
- package/help/cli-commands/container.md +3 -1
- package/help/cli-commands/iac-test.md +5 -3
- package/help/cli-commands/monitor.md +3 -4
- package/help/cli-commands/test.md +6 -5
- package/package.json +1 -1
package/dist/cli/479.index.js
CHANGED
|
@@ -177773,6 +177773,8 @@ function inspect(root, targetFile, options) {
|
|
|
177773
177773
|
const mvnArgs = buildArgs(root, mvnWorkingDirectory, targetFile, options.args);
|
|
177774
177774
|
let result;
|
|
177775
177775
|
try {
|
|
177776
|
+
debug(`Maven command: ${mavenCommand} ${mvnArgs.join(' ')}`);
|
|
177777
|
+
debug(`Maven working directory: ${mvnWorkingDirectory}`);
|
|
177776
177778
|
result = yield subProcess.execute(mavenCommand, mvnArgs, {
|
|
177777
177779
|
cwd: mvnWorkingDirectory,
|
|
177778
177780
|
});
|
|
@@ -178031,7 +178033,7 @@ function execute(command, args, options) {
|
|
|
178031
178033
|
});
|
|
178032
178034
|
proc.on('close', (code) => {
|
|
178033
178035
|
if (code !== 0) {
|
|
178034
|
-
return reject(new Error(
|
|
178036
|
+
return reject(new Error(stderr || stdout));
|
|
178035
178037
|
}
|
|
178036
178038
|
resolve(stdout || stderr);
|
|
178037
178039
|
});
|