Silence unnecessary output
This commit is contained in:
parent
734e463df4
commit
10a96402fe
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ $null = New-Module {
|
||||||
$dirName = Split-Path -Parent $fileName;
|
$dirName = Split-Path -Parent $fileName;
|
||||||
|
|
||||||
if (-not (Test-Path -PathType Container $dirName)) {
|
if (-not (Test-Path -PathType Container $dirName)) {
|
||||||
New-Item -ItemType Directory $dirName;
|
$null = New-Item -ItemType Directory $dirName;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((Test-Path -PathType Leaf $fileName) -and (-not $Overwrite)) {
|
if ((Test-Path -PathType Leaf $fileName) -and (-not $Overwrite)) {
|
||||||
|
|
Loading…
Reference in a new issue