|
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
format-check-task/src/format-check/scripts/format-check.ts
Lines 145 to 147 in 8031bf4
For any comment that does not include the filename this function will fail to retrieve the correct thread.
For instance: