This issue is related to PR #157 soling issue #48.
Observed behaviour:
Expected behaviour:
File can be editted with no problem.
Steps to reproduce:
npm start
choose either sign in or continue without sign in
open a local repository that is not the current VisualGit repository
create a new text file
wait until the file show up on the file panel and click on the file
the error would be logged in the console
Reason:
The filepath passed into diff-service.ts which further used in edit.panel.component.ts is just the file name, thus, when fs tries to open the file, it append the filename onto the current working directory.
This issue is related to PR #157 soling issue #48.
Observed behaviour:
Expected behaviour:
File can be editted with no problem.
Steps to reproduce:
Reason:
The filepath passed into diff-service.ts which further used in edit.panel.component.ts is just the file name, thus, when fs tries to open the file, it append the filename onto the current working directory.