trim space

This commit is contained in:
Hemachandar
2025-12-05 11:54:28 +05:30
parent 3739ee26d8
commit 07be361c7c
+1 -1
View File
@@ -4,7 +4,7 @@ use Utopia\Config\Config;
use Utopia\System\System;
$templateRuntimes = Config::getParam('template-runtimes');
$allowList = \array_filter(\explode(',', System::getEnv('_APP_FUNCTIONS_RUNTIMES', '')));
$allowList = \array_map('trim', \explode(',', System::getEnv('_APP_FUNCTIONS_RUNTIMES', '')));
function getRuntimes($runtimes, $commands, $entrypoint, $providerRootDirectory, $allowList)
{