2 references to ScalarOrNull
Infrastructure.Tests (2)
WorkflowScripts\VerifyTelemetryHookChangesWorkflowTests.cs (2)
36
var checkout = Assert.Single(steps, step =>
ScalarOrNull
(step, "uses")?.StartsWith("actions/checkout@", StringComparison.Ordinal) == true);
199
ScalarOrNull
(step, "name"),