mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-26 03:11:45 +00:00
bugfix: accidentally merged output of commands
This commit is contained in:
parent
97fcc961a7
commit
8995565e26
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user