Closed joel-clarke closed 5 years ago
Can recreate, it seems unnecessary for the function to be running there is no repo open - approved.
I thought this was fixed but turns out that was fixed the same time the whole file change detection was broken lol.
Anyway, approved
Approved, Can recreate on windows 10!
Describe the bug Currently when the app is first opened an error is displayed in the console "Error in git.ts. Attempting to display modified files." This error will be constantly printed to console until from what I can see a repo is opened.
To reproduce
Expected behavior / Acceptance criteria The error seems to be caused by the function which checks for any files that have been changed, hence the error should not be displayed when the app is first opened as there is no files that could have been changed when there is no repo open.
Screenshots
Desktop (please complete the following information):