Skip to content

Commit

Permalink
Fix input artifacts with multiple ssh keys (#1338)
Browse files Browse the repository at this point in the history
  • Loading branch information
almariah authored and jessesuen committed May 7, 2019
1 parent e680bd2 commit f641d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/artifacts/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func writePrivateKey(key string, insecureIgnoreHostKey bool) error {
return errors.InternalWrapError(err)
}
sshDir := fmt.Sprintf("%s/.ssh", usr.HomeDir)
err = os.Mkdir(sshDir, 0700)
err = os.MkdirAll(sshDir, 0700)
if err != nil {
return errors.InternalWrapError(err)
}
Expand Down

0 comments on commit f641d84

Please sign in to comment.