The built-in vscode APIs for git management are failing to retrieve repositories in our environment, so for now we will fall back to executing git via the shell (some operations were already running through the shell).
Adds a getCurrentBranch operation to the git terminal helper to facilitate the transition.
Also contains some ESLint corrections in the file src/utils/cloneSkillHelper.ts, mostly around usage before declaration.
Testing
Manually tested, as well as added a unit tests around git helper functions:
Screenshots (if appropriate)
Types of changes
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
[X] My code follows the code style of this project
[ ] My change requires a change to the documentation
Fixes #234
Description
The built-in vscode APIs for git management are failing to retrieve repositories in our environment, so for now we will fall back to executing git via the shell (some operations were already running through the shell).
Adds a
getCurrentBranch
operation to the git terminal helper to facilitate the transition.Also contains some ESLint corrections in the file
src/utils/cloneSkillHelper.ts
, mostly around usage before declaration.Testing
Manually tested, as well as added a unit tests around git helper functions:
Screenshots (if appropriate)
Types of changes
Checklist
License