1
0

DGI fixes
All checks were successful
Build Docker and Deploy / Build Docker (push) Successful in 18s
Build Docker and Deploy / Deploy to Server (push) Successful in 16s

This commit is contained in:
2023-09-12 17:43:01 +02:00
parent 8a22671f0b
commit f69a219927
5 changed files with 68 additions and 29 deletions

View File

@@ -546,7 +546,8 @@ class SelfTest implements IWebsiteModule
'exception' => null,
];
}
else if (!$r[2])
if (!$r[2])
{
return
[
@@ -556,7 +557,18 @@ class SelfTest implements IWebsiteModule
'exception' => null,
];
}
else
if ($r[0] === false || $r[1] === false)
{
return
[
'result' => self::STATUS_ERROR,
'message' => "{$xname} failed (failed to query branch/sha)",
'long' => $r,
'exception' => null,
];
}
{
return
[