revert: variable parsing

This commit is contained in:
Andras Bacsai 2024-04-26 21:11:40 +02:00
parent 99f57269fb
commit b71f1a79c8

View File

@ -18,7 +18,7 @@ function collectRegex(string $name)
}
function replaceVariables($variable)
{
return $variable->after('${')->before('}');
return $variable->replaceFirst('$', '')->replaceFirst('{', '')->replaceLast('}', '');
}
function getFilesystemVolumesFromServer(ServiceApplication|ServiceDatabase|Application $oneService, bool $isInit = false)