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.
@@ -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(stdout || stderr));
178036
+ return reject(new Error(stderr || stdout));
178035
178037
  }
178036
178038
  resolve(stdout || stderr);
178037
178039
  });