Skip to content

[bug] Error when trying to create code review file #151

Open
@abePdIta

Description

@abePdIta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions