Correct powershell redirection to null
This commit is contained in:
parent
298c0b5eaf
commit
26d4aa2ff8
1 changed files with 3 additions and 3 deletions
|
|
@ -265,9 +265,9 @@ def gitsparserestore(String targetDir) {
|
|||
"""
|
||||
} else {
|
||||
powershell """
|
||||
git rm -rf . 2> nul
|
||||
git clean -fxd 2> nul
|
||||
git reset --hard 2> nul
|
||||
git rm -rf . > \$null
|
||||
git clean -fxd > \$null
|
||||
git reset --hard > \$null
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue