Skip to content

Commit

Permalink
remove the remove-item
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garriss committed Jan 9, 2025
1 parent 96cca59 commit a4cb084
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/workflow/Build-SignRelease.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit a4cb084

Please sign in to comment.