Permalink
Browse files

Fix The function or command was called as if it were a method error.

  • Loading branch information...
1 parent 377d817 commit ec55e121254613b43d98f425e6219241c5eb0ce6 @lukebakken lukebakken committed with Jun 6, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 GitUtils.ps1
View
@@ -212,8 +212,8 @@ function Get-SshAgent() {
if ($sshAgentProcess -and ($sshAgentProcess.Name -eq 'ssh-agent')) {
return $agentPid
} else {
- setenv('SSH_AGENT_PID', $null)
- setenv('SSH_AUTH_SOCK', $null)
+ setenv 'SSH_AGENT_PID', $null
+ setenv 'SSH_AUTH_SOCK', $null
}
}
@@ -265,8 +265,8 @@ function Stop-SshAgent() {
Stop-Process $agentPid
}
- setenv('SSH_AGENT_PID', $null)
- setenv('SSH_AUTH_SOCK', $null)
+ setenv 'SSH_AGENT_PID', $null
+ setenv 'SSH_AUTH_SOCK', $null
}
}

0 comments on commit ec55e12

Please sign in to comment.