mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 02:15:51 +00:00
chore: prepare for PR
This commit is contained in:
1 parent
872e300cf9
commit
a362282976
3 files changed
+56
-6
No files matched your search
@@ -128,6 +128,11 @@ function replaceVariables(string $variable): Stringable
|
||||
return $str->replaceFirst('{', '')->before('}');
|
||||
}
|
||||
|
||||
// Handle bare $VAR format (no braces)
|
||||
if ($str->startsWith('$')) {
|
||||
return $str->replaceFirst('$', '');
|
||||
}
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user