Merge pull request #1322 from appwrite/fix-functions-worker
Fix functions worker
This commit is contained in:
commit
ae8583f3a2
|
@ -357,7 +357,7 @@ class FunctionsV1 extends Worker
|
|||
|
||||
\array_walk($vars, function (&$value, $key) {
|
||||
$key = $this->filterEnvKey($key);
|
||||
$value = \escapeshellarg((empty($value)) ? 'null' : $value);
|
||||
$value = \escapeshellarg((empty($value)) ? '' : $value);
|
||||
$value = "--env {$key}={$value}";
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue