Fixed exception when plugin runs without options (Like "php_parallel_lint: "). Issue #44
This commit is contained in:
parent
a3ef15b488
commit
78c66a4dc3
2 changed files with 6 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ class Executor
|
|||
|
||||
try {
|
||||
// Build and run it
|
||||
$obj = $this->pluginFactory->buildPlugin($class, $options);
|
||||
$obj = $this->pluginFactory->buildPlugin($class, (is_null($options) ? [] : $options));
|
||||
|
||||
return $obj->execute();
|
||||
} catch (\Exception $ex) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue