Improve log formatting

This commit is contained in:
Joseph Garrone 2024-05-18 07:53:41 +02:00
parent c93e787393
commit 24c14ea8f6

View File

@ -35,10 +35,12 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
const keycloakMajorNumber = SemVer.parse(keycloakVersion).major;
if (doesImplementAccountTheme && keycloakMajorNumber === 22) {
console.log([
console.log(
[
"Unfortunately, Keycloakify themes that implements an account theme do not work on Keycloak 22",
"Please select any other Keycloak version"
]);
].join(" ")
);
return getKeycloakMajor();
}