mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
fix: warning Undefined variable $adapter
This commit is contained in:
parent
3733df6fc5
commit
ecc3f61f1e
1 changed files with 1 additions and 0 deletions
|
|
@ -867,6 +867,7 @@ class Builds extends Action
|
|||
|
||||
$deployment->setAttribute('buildLogs', $logs);
|
||||
|
||||
$adapter = null;
|
||||
if ($resource->getCollection() === 'sites' && !empty($detectionLogs)) {
|
||||
$files = \explode("\n", $detectionLogs); // Parse output
|
||||
$files = \array_filter($files); // Remove empty
|
||||
|
|
|
|||
Loading…
Reference in a new issue