rediriecting stderr
This commit is contained in:
parent
2a2944e5c3
commit
1d289d2417
1 changed files with 5 additions and 5 deletions
|
@ -15,12 +15,12 @@
|
|||
|
||||
if (Test-Path -PathType Container .git){
|
||||
Write-Output "performing git pull..."
|
||||
git checkout master
|
||||
git reset --hard
|
||||
git clean -fdx
|
||||
git pull
|
||||
git checkout master 2>&1
|
||||
git reset --hard 2>&1
|
||||
git clean -fdx 2>&1
|
||||
git pull 2>&1
|
||||
# TODO: in case of errors: delete folder and clone
|
||||
} else {
|
||||
Write-Output "performing git clone..."
|
||||
git clone --depth 1 https://github.com/llvm/llvm-project
|
||||
git clone --depth 1 https://github.com/llvm/llvm-project 2>&1
|
||||
}
|
Loading…
Reference in a new issue