Silence unnecessary output
This commit is contained in:
parent
c17b04bf41
commit
325371140e
|
@ -31,7 +31,7 @@ $null = New-Module {
|
|||
$dirName = Split-Path -Parent $fileName;
|
||||
|
||||
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)) {
|
||||
|
|
Loading…
Reference in a new issue