bugfix: accidentally merged output of commands

This commit is contained in:
Baipyrus 2024-11-25 15:28:58 +01:00
parent 97fcc961a7
commit 8995565e26

View File

@ -29,7 +29,7 @@ function ReadyDotfilesRepo
if (IsGitRepository -dir $cwd -url $url) if (IsGitRepository -dir $cwd -url $url)
{ {
Write-Host "Already inside the dotfiles repository. Skipping clone step and pulling..." -ForegroundColor Yellow Write-Host "Already inside the dotfiles repository. Skipping clone step and pulling..." -ForegroundColor Yellow
git pull Write-Host "$(git pull)"
return $cwd return $cwd
} }
@ -48,7 +48,7 @@ function ReadyDotfilesRepo
} }
Write-Host "Pulling latest changes from dotfiles repository..." -ForegroundColor Cyan Write-Host "Pulling latest changes from dotfiles repository..." -ForegroundColor Cyan
git -C $destination pull Write-Host "$(git -C $destination pull)"
return $destination return $destination
} }