We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a16d948 commit 515589dCopy full SHA for 515589d
extension/BuildPhpExtension/private/Invoke-CleanupTempFIles.ps1
@@ -9,7 +9,11 @@ Function Invoke-CleanupTempFiles {
9
Write-Host "Cleaning up temporary files"
10
$tempFiles | ForEach-Object {
11
Write-Host "Removing $($_.FullName)"
12
- Remove-Item -Path $_.FullName -Force
+ try {
13
+ Remove-Item -Path $_.FullName -Force
14
+ } catch {
15
+ Write-Host "Failed to remove $($_.FullName)"
16
+ }
17
}
18
19
0 commit comments