mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Apply suggestion from @greptile-apps[bot]
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
greptile-apps[bot]
parent
e4b51d0abb
commit
409cebb26e
@@ -556,7 +556,7 @@ class Migrations extends Action
|
||||
} elseif ($th instanceof MigrationException) {
|
||||
$publish = false;
|
||||
} else {
|
||||
$publish = true;
|
||||
$publish = $th->getCode() === 0 || $th->getCode() >= 500;
|
||||
}
|
||||
|
||||
if ($publish) {
|
||||
|
||||
Reference in New Issue
Block a user