From 325371140e5f0fffba4d8c6b04531d0c3e6dcc5e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 20 Mar 2024 18:12:24 +0100 Subject: [PATCH] Silence unnecessary output --- scripts/Common/Config/powershell/profile.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Config/powershell/profile.ps1 b/scripts/Common/Config/powershell/profile.ps1 index 75a1ecbc..dff0d567 100644 --- a/scripts/Common/Config/powershell/profile.ps1 +++ b/scripts/Common/Config/powershell/profile.ps1 @@ -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)) {