ajeckmans / format-check-task

A format check task for Azure Devops Pull Requests, based on dotnet format. It can scan all files or just the ones in a PR and add comments for each error found to the PR. When errors are found optionally fail the task or set a status check.
3 stars 0 forks source link

Wrong context for PR comment #17

Closed ajeckmans closed 11 months ago

ajeckmans commented 1 year ago

Once a commit has happened (on the file) all old comments will start showing the following error instead of the code from the file in the commit it was placed for.

This file no longer exists in the latest pull request changes. It may have been moved or deleted. View the comment in its original context.

So obviously something is wrong with setting the context of the comment.

ajeckmans commented 11 months ago

Fixed in 2cd9012e969a933ae45c41d3bf09d764dba6fd4b