From a4cb0848fcf926965fb0f3ede325fb6020e04a1d Mon Sep 17 00:00:00 2001 From: James Garriss <52328727+james-garriss@users.noreply.github.com> Date: Thu, 9 Jan 2025 08:28:20 -0500 Subject: [PATCH] remove the remove-item --- utils/workflow/Build-SignRelease.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/workflow/Build-SignRelease.ps1 b/utils/workflow/Build-SignRelease.ps1 index 4215173a72..2331d54fc1 100644 --- a/utils/workflow/Build-SignRelease.ps1 +++ b/utils/workflow/Build-SignRelease.ps1 @@ -38,7 +38,7 @@ function New-ModuleSignature { Write-Warning "Directory exists" } else { Write-Warning "Directory does not exist; throwing an exception..." - throw [System.IO.DirectoryNotFoundException] "Directory not found: $RootFolderName" + # throw [System.IO.DirectoryNotFoundException] "Directory not found: $RootFolderName" } # Source the deploy utilities so the functions in it can be called. @@ -47,7 +47,7 @@ function New-ModuleSignature { # Remove non-release files (required for non-Windows machines) # Delete git folder - Remove-Item -Recurse -Force $RootFolderName -Include .git* + # Remove-Item -Recurse -Force $RootFolderName -Include .git* Write-Warning "Creating an array of the files to sign..." $ArrayOfFilePaths = New-ArrayOfFilePaths ` -ModuleDestinationPath $RootFolderName