Handle exception in Update-PhpCAInfo in win32.ps1
This commit is contained in:
parent
a29956826a
commit
22f5ad47d2
1 changed files with 4 additions and 1 deletions
|
|
@ -50,7 +50,10 @@ try {
|
|||
Update-PhpCAInfo -Path $php_dir -Source CurrentUser
|
||||
}
|
||||
catch {
|
||||
try {
|
||||
Update-PhpCAInfo -Path $php_dir -Source Curl
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
if ([Version]$installed.Version -ge '7.4') {
|
||||
Copy-Item "$dir\..\src\ext\php_pcov.dll" -Destination "$($installed.ExtensionsPath)\php_pcov.dll"
|
||||
|
|
|
|||
Loading…
Reference in a new issue