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){
|
if (Test-Path -PathType Container .git){
|
||||||
Write-Output "performing git pull..."
|
Write-Output "performing git pull..."
|
||||||
git checkout master
|
git checkout master 2>&1
|
||||||
git reset --hard
|
git reset --hard 2>&1
|
||||||
git clean -fdx
|
git clean -fdx 2>&1
|
||||||
git pull
|
git pull 2>&1
|
||||||
# TODO: in case of errors: delete folder and clone
|
# TODO: in case of errors: delete folder and clone
|
||||||
} else {
|
} else {
|
||||||
Write-Output "performing git clone..."
|
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