mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix: function command
This commit is contained in:
1 parent
aba3a31663
commit
5d6a8be66d
1 file changed
+1
-1
@@ -830,7 +830,7 @@ class Builds extends Action
|
||||
protected function getCommand(Document $resource, Document $deployment): string
|
||||
{
|
||||
return match($resource->getCollection()) {
|
||||
'functions' => $deployment->getAttribute('command', ''),
|
||||
'functions' => $deployment->getAttribute('commands', ''),
|
||||
'sites' => implode(' && ', array_filter([
|
||||
$deployment->getAttribute('installCommand'),
|
||||
$deployment->getAttribute('buildCommand')
|
||||
|
||||
Reference in new issue
Block a user