cleanup: */install.ps1 add out-null to all New-Item calls

This commit is contained in:
AJ ONeal
2021-04-26 07:10:08 +00:00
parent 2073a1eeeb
commit 3f64f8b9c5
46 changed files with 51 additions and 51 deletions

View File

@@ -33,7 +33,7 @@ IF (!(Test-Path -Path "$pkg_src"))
# Windows BSD-tar handles zip. Imagine that.
echo "Unpacking $pkg_download"
IF (!(Test-Path -Path "$pkg_cmd_name-v$Env:WEBI_VERSION")) {
New-Item -Path "$pkg_cmd_name-v$Env:WEBI_VERSION" -ItemType Directory -Force
New-Item -Path "$pkg_cmd_name-v$Env:WEBI_VERSION" -ItemType Directory -Force | out-null
}
($none = pushd "$pkg_cmd_name-v$Env:WEBI_VERSION") | out-null
& tar xf "$pkg_download"