mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-22 08:12:29 +01:00
Fix issue provoked after adding array casting and returning empty fcgi parameter to the command (#3724)
This commit is contained in:
parent
5c62c45799
commit
cb28eb82ff
@ -72,7 +72,9 @@ set('cachetool_options', function () {
|
||||
$return = [$fullOptions];
|
||||
} elseif (count($options) > 0) {
|
||||
foreach ($options as $option) {
|
||||
$return[] = "--fcgi={$option}";
|
||||
if ($option !== '') {
|
||||
$return[] = "--fcgi={$option}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user