From de261a27ca85c7954e7a4651bfc7b3149a74d2a8 Mon Sep 17 00:00:00 2001 From: garronej Date: Mon, 4 Sep 2023 02:29:16 +0200 Subject: [PATCH] Do not display that the jar have been created if we don't create it. --- src/bin/keycloakify/keycloakify.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/bin/keycloakify/keycloakify.ts b/src/bin/keycloakify/keycloakify.ts index eafc254e..b2c5d3d1 100644 --- a/src/bin/keycloakify/keycloakify.ts +++ b/src/bin/keycloakify/keycloakify.ts @@ -77,9 +77,13 @@ export async function main() { logger.log( [ "", - `✅ Your keycloak theme has been generated and bundled into .${pathSep}${pathRelative(reactAppRootDirPath, jarFilePath)} 🚀`, - `It is to be placed in "/opt/keycloak/providers" in the container running a quay.io/keycloak/keycloak Docker image.`, - "", + ...(!buildOptions.doCreateJar + ? [] + : [ + `✅ Your keycloak theme has been generated and bundled into .${pathSep}${pathRelative(reactAppRootDirPath, jarFilePath)} 🚀`, + `It is to be placed in "/opt/keycloak/providers" in the container running a quay.io/keycloak/keycloak Docker image.`, + "" + ]), //TODO: Restore when we find a good Helm chart for Keycloak. //"Using Helm (https://github.com/codecentric/helm-charts), edit to reflect:", "",