vscode-code-review icon indicating copy to clipboard operation
vscode-code-review copied to clipboard

[bug] Error when trying to create code review file

Open abePdIta opened this issue 1 year ago • 1 comments

🐞 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.

abePdIta avatar Feb 09 '24 16:02 abePdIta

Same problem +1. Workaround - restart vscode...

gnom1gnom avatar Feb 20 '24 12:02 gnom1gnom