From a96b08efeb6aebd9240d6e177f4ccdc5ee6de682 Mon Sep 17 00:00:00 2001 From: Oktawian Chojnacki Date: Tue, 18 Oct 2022 10:14:13 +0200 Subject: [PATCH] Return `gitPath` --- paths.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/paths.js b/paths.js index 8ee7afd..51ff4b6 100644 --- a/paths.js +++ b/paths.js @@ -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' };