We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85b2b75 commit da438b4Copy full SHA for da438b4
1 file changed
scripts/install-windows.ps1
@@ -184,7 +184,7 @@ function install_git {
184
}
185
else {
186
try {
187
- git | Out-Null
+ git --version | Out-Null
188
Write-Host "Git is already installed. Nice!"
189
190
catch [System.Management.Automation.CommandNotFoundException] {
@@ -244,7 +244,7 @@ function next_step_message {
244
$confirmed_alias = check_slack_binary_exist $Alias $Version $false
245
if (Get-Command $confirmed_alias -ErrorAction SilentlyContinue) {
246
247
- $confirmed_alias | Out-Null
+ & $confirmed_alias --version | Out-Null
248
Write-Host "`nYou're all set! Relaunch your terminal to ensure changes take effect."
249
Write-Host " Then, authorize your CLI in your workspace with ``$confirmed_alias login``.`n"
250
0 commit comments