Skip to content

Commit

Permalink
Merge pull request #989 from snyk/feat/report-java-and-mvn-version
Browse files Browse the repository at this point in the history
fix: correct object path to mvn and java version
  • Loading branch information
Mila Votradovec authored Jan 31, 2020
2 parents 42fa08c + 98a7031 commit 08cf57d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/snyk-test/run-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,12 @@ async function assembleLocalPayloads(
analytics.add('pluginName', deps.plugin.name);
const javaVersion = _.get(
deps.plugin,
'meta?.versionBuildInfo?.metaBuildVersion.javaVersion',
'meta.versionBuildInfo.metaBuildVersion.javaVersion',
null,
);
const mvnVersion = _.get(
deps.plugin,
'meta?.versionBuildInfo?.metaBuildVersion.mvnVersion',
'meta.versionBuildInfo.metaBuildVersion.mvnVersion',
null,
);
if (javaVersion) {
Expand Down

0 comments on commit 08cf57d

Please sign in to comment.