mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Fix PHP warning in test-extensions.php
This commit is contained in:
parent
acb8cea437
commit
c58ea0c3bd
@ -155,7 +155,7 @@ echo match ($argv[1]) {
|
||||
default => '',
|
||||
};
|
||||
|
||||
$prefix = match ($argv[2]) {
|
||||
$prefix = match ($argv[2] ?? null) {
|
||||
'windows-latest', 'windows-2022', 'windows-2019', 'windows-2025' => 'powershell.exe -file .\bin\spc.ps1 ',
|
||||
'ubuntu-latest', 'ubuntu-24.04', 'ubuntu-24.04-arm' => './bin/spc ',
|
||||
'ubuntu-22.04', 'ubuntu-22.04-arm' => 'bin/spc-gnu-docker ',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user