vscode-code-review
vscode-code-review copied to clipboard
[bug] Error when trying to create code review file
🐞 Bug report
Description
The plugin looses the workspace context if the user once opens a tab for which the path is not defined. As a consequence, the plugin tries to open/create the code-review file from/in the root directory (obviously failing) and the current commit SHA is unknown.
Reproduction
Open a diff, for example, from a commit in Git Graph plugin (mhutchie.git-graph). Try to add a review note on any file. Failure.
Error message
Error when trying to create code review file: '/code-review.csv': Error: EROFS: read-only file system, open '/code-review.csv'
🌍 Your Environment
I'm on Mac.
Same problem +1. Workaround - restart vscode...