Ignore passed internal extensions (#473)

* Ignore passed internal extensions

* Add tests

* Add tests
This commit is contained in:
Jerry Ma
2024-06-05 23:20:21 +08:00
committed by GitHub
parent b3018af61c
commit db9645641f
5 changed files with 24 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ class BuildCliCommand extends BuildCommand
// transform string to array
$libraries = array_map('trim', array_filter(explode(',', $this->getOption('with-libs'))));
// transform string to array
$extensions = array_map('trim', array_filter(explode(',', $this->getArgument('extensions'))));
$extensions = $this->parseExtensionList($this->getArgument('extensions'));
// parse rule with options
$rule = $this->parseRules();