Skip to content

end_column cannot be null #7

@swissspidy

Description

@swissspidy

We're sometimes getting the following error:

##[error]'output.annotations[1].end_column' cannot be null

It looks like endColumn as reported by ESLint can indeed sometimes be null.

Would be great if there'd be a check for that before adding the annotation:

if (line === endLine) {
annotation.start_column = column;
annotation.end_column = endColumn;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions