Skip to content

Commit

Permalink
fix: add targetRuntime meta information to monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
dotkas committed Oct 24, 2023
1 parent b7211c8 commit 4836057
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/monitor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ interface Meta {
dockerImageId?: string;
dockerBaseImage?: string;
projectName: string;
targetRuntime?: string;
}

export async function monitor(
Expand Down Expand Up @@ -351,6 +352,7 @@ export async function monitorDepGraph(
monitorGraph: true,
versionBuildInfo: JSON.stringify(scannedProject.meta?.versionBuildInfo),
gradleProjectName: scannedProject.meta?.gradleProjectName,
targetRuntime: scannedProject.meta?.targetRuntime,
},
policy: policy ? policy.toString() : undefined,
depGraphJSON: depGraph, // depGraph will be auto serialized to JSON on send
Expand Down

0 comments on commit 4836057

Please sign in to comment.