mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-11-14 23:23:50 +00:00
remove unnecessary cwd param in current dir
This commit is contained in:
parent
1f821376d1
commit
090e07f04c
@ -30,7 +30,7 @@ if (IsGitRepository -dir $currentDir -url $repoUrl)
|
|||||||
{
|
{
|
||||||
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
|
||||||
$dotfilesRepo = $currentDir
|
$dotfilesRepo = $currentDir
|
||||||
git -C $dotfilesRepo pull
|
git pull
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
# Clone dotfiles repository to TMP if not already inside it
|
# Clone dotfiles repository to TMP if not already inside it
|
||||||
|
Loading…
Reference in New Issue
Block a user