Skip to content

Commit

Permalink
Fix Get-SshPath
Browse files Browse the repository at this point in the history
Fixes #92
  • Loading branch information
dahlbyk committed Apr 4, 2013
1 parent 0bfaeee commit ad83dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitUtils.ps1
Expand Up @@ -263,7 +263,7 @@ function Start-SshAgent([switch]$Quiet) {
function Get-SshPath($File = 'id_rsa')
{
$home = Resolve-Path (Invoke-NullCoalescing $Env:HOME ~)
Resolve-Path (Join-Path $home '.ssh\$File') -ErrorAction SilentlyContinue 2> $null
Resolve-Path (Join-Path $home ".ssh\$File") -ErrorAction SilentlyContinue 2> $null
}

# Add a key to the SSH agent
Expand Down

0 comments on commit ad83dd6

Please sign in to comment.