Skip to content
Merged
2 changes: 1 addition & 1 deletion scripts/install-windows-dev.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function install_git {
}
else {
try {
git | Out-Null
Get-Command git -ErrorAction Stop | Out-Null
Write-Host "Git is already installed. Nice!"
}
catch [System.Management.Automation.CommandNotFoundException] {
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function install_git {
}
else {
try {
git | Out-Null
Get-Command git -ErrorAction Stop | Out-Null
Write-Host "Git is already installed. Nice!"
}
catch [System.Management.Automation.CommandNotFoundException] {
Expand Down
Loading