mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
filter micro patches to not be ''
This commit is contained in:
parent
08ab3c17d6
commit
3da58d5c24
@ -153,7 +153,7 @@ class SourcePatcher
|
||||
$spc_micro_patches = $items;
|
||||
} else {
|
||||
$spc_micro_patches = getenv('SPC_MICRO_PATCHES');
|
||||
$spc_micro_patches = $spc_micro_patches === false ? [] : explode(',', $spc_micro_patches);
|
||||
$spc_micro_patches = $spc_micro_patches === false ? [] : array_filter(explode(',', $spc_micro_patches));
|
||||
}
|
||||
$patch_list = $spc_micro_patches;
|
||||
$patches = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user