diff --git a/packages/core/src/utils.ts b/packages/core/src/utils.ts index 925d3e2d67..888b96367f 100644 --- a/packages/core/src/utils.ts +++ b/packages/core/src/utils.ts @@ -25,6 +25,11 @@ export function toCommandValue(input: any): string { * See: https://github.com/actions/runner/blob/ee34f4842e747b452e13235836c92b2bb1606816/src/Runner.Worker/ActionCommandManager.cs#L566 */ export function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties { + + if (Object.keys(annotationProperties).length > 0) { + return {} + } + return { title: annotationProperties.title, line: annotationProperties.startLine,