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:
Jake Barnby
2026-05-08 00:12:20 +12:00
committed by GitHub
co-authored by greptile-apps[bot]
parent e4b51d0abb
commit 409cebb26e
+1 -1
View File
@@ -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) {