Add file property to AnnotationProperties (#896)

This commit is contained in:
Marcono1234 authored and GitHub committed 2021-09-28 09:47:06 -04:00
1 parent d33d89dce4
commit 6f27cc2cb8
4 files changed
+48 -2

No files matched your search

+5
View File
@@ -41,6 +41,11 @@ export interface AnnotationProperties {
*/
title?: string
/**
* The path of the file for which the annotation should be created.
*/
file?: string
/**
* The start line for the annotation.
*/
+1
View File
@@ -32,6 +32,7 @@ export function toCommandProperties(
return {
title: annotationProperties.title,
file: annotationProperties.file,
line: annotationProperties.startLine,
endLine: annotationProperties.endLine,
col: annotationProperties.startColumn,