[BUGFIX] Resolve gitPath for git executable

Signed-off-by: Oktawian Chojnacki <oktawian@me.com>
This commit is contained in:
Oktawian Chojnacki 2022-10-18 10:06:10 +02:00
parent 26e485b72d
commit 0a5d1715cf
No known key found for this signature in database
GPG key ID: 19848A5660FCC34A
2 changed files with 8 additions and 7 deletions

View file

@ -6,13 +6,14 @@ module.exports = (process.env['OS'] != 'Windows_NT') ? {
// Action runs, where $HOME is different from the pwent
home: os.userInfo().homedir,
sshAgent: 'ssh-agent',
sshAdd: 'ssh-add'
sshAdd: 'ssh-add',
gitPath: 'git'
} : {
home: os.homedir(),
sshAgent: 'c://progra~1//git//usr//bin//ssh-agent.exe',
sshAdd: 'c://progra~1//git//usr//bin//ssh-add.exe'
sshAdd: 'c://progra~1//git//usr//bin//ssh-add.exe',
gitPath: 'c://progra~1//git//usr//bin//git.exe'
};