chore: format with Prettier

This commit is contained in:
Julien Fontanet 2024-01-19 16:23:06 +01:00
parent 901f7b3fe2
commit 3dda4dbaad
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="manifest" href="/manifest.webmanifest">
<link rel="manifest" href="/manifest.webmanifest" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>XO Lite</title>
</head>

View File

@ -404,7 +404,9 @@ const methods = {
async function_poolWideInstall($defer, patches, xsCredentials) {
// New XS patching system: https://support.citrix.com/article/CTX473972/upcoming-changes-in-xencenter
if (xsCredentials?.username === undefined || xsCredentials?.apikey === undefined) {
throw new Error('XenServer credentials not found. See https://xen-orchestra.com/docs/updater.html#xenserver-updates')
throw new Error(
'XenServer credentials not found. See https://xen-orchestra.com/docs/updater.html#xenserver-updates'
)
}
// Legacy XS patches