When run in a non git directory the diff context was set to null which made interacting with it complex. Now the diff context is responsible for determining it is not in a git context and returning sensible empty/none types when called.
Pull Request Checklist
[x] Documentation has been updated, or this change doesn't require that
I couldn't add the bot to this repo but you can see its review here It actually tried to comment on a line that wasn't changed so not all the model comments are displayed.
When run in a non git directory the diff context was set to null which made interacting with it complex. Now the diff context is responsible for determining it is not in a git context and returning sensible empty/none types when called.
Pull Request Checklist