From 95bf9efddfe2c6aba449a6160571f006054ff579 Mon Sep 17 00:00:00 2001 From: Christopher Mann Date: Thu, 21 Nov 2024 12:14:46 +0100 Subject: [PATCH] Improve robustness of packaging script --- build/Package-PsModule.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Package-PsModule.ps1 b/build/Package-PsModule.ps1 index 27ffcd9..7ee59a4 100644 --- a/build/Package-PsModule.ps1 +++ b/build/Package-PsModule.ps1 @@ -45,7 +45,7 @@ $moduleAssemblyPath = Join-Path $modulePath ($isWindowsPowershell ? 'desktop' : # Prepare the output directory if (-not (Test-Path $modulePath)) { - $null = New-Item -ItemType Directory -Path $modulePath + $null = New-Item -ItemType Directory -Path $modulePath -ErrorAction SilentlyContinue } # Copy the build output