Skip to content

Extension fails to determine correct thread to update #36

@ajeckmans

Description

@ajeckmans

const content = `${commentPreamble} ${change.DiagnosticId}: ${change.FormatDescription} on line ${change.LineNumber}, position ${change.CharNumber}`;
activeIssuesContent.push(content); // Keep track of active issues
const existingThread = existingThreads.find(thread => thread.comments?.some(comment => comment.content === content));

For any comment that does not include the filename this function will fail to retrieve the correct thread.
For instance:

[DotNetFormatTask][Automated] IMPORTS: Fix imports ordering. on line 1, position 1

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