mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Fix logic of chunk reading
This commit is contained in:
parent
3ba0565e44
commit
6090ca50fc
1 changed files with 2 additions and 1 deletions
|
|
@ -738,11 +738,12 @@ class Builds extends Action
|
|||
$insideSeparation = true;
|
||||
}
|
||||
} else {
|
||||
$logs = '';
|
||||
$separator = \strpos($logs, '{APPWRITE_DETECTION_SEPARATOR_END}');
|
||||
if ($separator !== false) {
|
||||
$logs = \substr($logs, $separator + strlen('{APPWRITE_DETECTION_SEPARATOR_END}'));
|
||||
$insideSeparation = false;
|
||||
} else {
|
||||
$logs = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue