diff --git a/src/Sarif/Writers/PrereleaseCompatibilityTransformer.cs b/src/Sarif/Writers/PrereleaseCompatibilityTransformer.cs index ed3b5cced..ec23ef5a1 100644 --- a/src/Sarif/Writers/PrereleaseCompatibilityTransformer.cs +++ b/src/Sarif/Writers/PrereleaseCompatibilityTransformer.cs @@ -204,14 +204,14 @@ private static void ConvertAllStackFrameAddressesToAddressObjects(JObject run) private static void ConvertInvocationStackFrameAddressesToAddressObjects(JObject item) { - if (item["toolNotifications"] is JArray toolNotifications) + if (item["toolExecutionNotifications"] is JArray toolExecutionNotifications) { - ConvertNotificationsStackFrameAddressesToAddressObjects(toolNotifications); + ConvertNotificationsStackFrameAddressesToAddressObjects(toolExecutionNotifications); } - if (item["configurationNotifications"] is JArray configurationNotifications) + if (item["toolConfigurationNotifications"] is JArray toolConfigurationNotifications) { - ConvertNotificationsStackFrameAddressesToAddressObjects(configurationNotifications); + ConvertNotificationsStackFrameAddressesToAddressObjects(toolConfigurationNotifications); } }