mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Support zero extension build result
This commit is contained in:
parent
625a03e799
commit
8cd69b2b70
@ -165,7 +165,7 @@ abstract class BaseCommand extends Command
|
||||
return SPC_EXTENSION_ALIAS[$lower];
|
||||
}
|
||||
return $lower;
|
||||
}, is_array($ext_list) ? $ext_list : explode(',', $ext_list));
|
||||
}, is_array($ext_list) ? $ext_list : array_filter(explode(',', $ext_list)));
|
||||
|
||||
// filter internals
|
||||
return array_values(array_filter($ls, function ($x) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user