1
0
Fork 0
mirror of synced 2024-06-26 10:10:57 +12:00

Merge pull request #1322 from appwrite/fix-functions-worker

Fix functions worker
This commit is contained in:
Eldad A. Fux 2021-07-05 11:10:35 +03:00 committed by GitHub
commit ae8583f3a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}";
});