Skip to content

Commit 91e9337

Browse files
authored
Merge pull request #300 from nl-brett-stime/patch-1
Fixes #299
2 parents bdad9ba + 5d03c41 commit 91e9337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎get_git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,9 @@ func setupGitEnv(cmd *exec.Cmd, sshKeyFile string) {
329329
sshKeyFile = strings.Replace(sshKeyFile, `\`, `/`, -1)
330330
}
331331
sshCmd = append(sshCmd, "-i", sshKeyFile)
332+
env = append(env, strings.Join(sshCmd, " "))
332333
}
333334

334-
env = append(env, strings.Join(sshCmd, " "))
335335
cmd.Env = env
336336
}
337337

0 commit comments

Comments
 (0)