vscode-pull-request-azdo
vscode-pull-request-azdo copied to clipboard
Error adding comment: The value 0 is outside of the allowed range
- Extension version: 0.2.2
- VSCode Version: 1.86.2
- OS: Windows_NT x64 10.0.22621
Steps to Reproduce:
- Installed the Azure Devops Pull Request Extension
- Filled in the settings required to connect me to my ADO project
- Opened a PR and tried to leave a comment
I see the following error message pop up:
Creating comment failed: Error: The value 0 is outside of the allowed range. Parameter name: RightFileStart.Offset
Actual value was 0.
I've tried a few different things to see if there are some cases where it does work and others where it doesn't, but it seems pretty consistent:
- Have tried multiple different files in the same PR
- Have tried a different PR
- Have tried leaving comments on both the before and after changes
- Have tried short and long files
Unclear exactly what's causing this, but it would be great to have this resolved! I think this extension is a great idea and would like to evangelise it across my org. Don't feel I can do that if I can't get it to work locally though :(.