From d9b02288c9039430f45192e897f7547235f04c26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Wed, 13 Mar 2024 15:17:04 +0100
Subject: [PATCH] Sonar => >Fix issues

---
 NodeApp/src/commander/UpgradeCommand.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/NodeApp/src/commander/UpgradeCommand.ts b/NodeApp/src/commander/UpgradeCommand.ts
index b0ba3dd..432fa31 100644
--- a/NodeApp/src/commander/UpgradeCommand.ts
+++ b/NodeApp/src/commander/UpgradeCommand.ts
@@ -17,8 +17,10 @@ class UpgradeCommand extends CommanderCommand {
     }
 
     private displayInstructions(upgradeCommand: string, preAlpha: boolean) {
+        upgradeCommand = TextStyle.CODE(` ${ upgradeCommand } `);
+        
         console.log(TextStyle.BLOCK(`You can upgrade DojoCLI on ${ os.platform() === 'darwin' ? 'macOS' : 'Linux' }:`));
-        ora().start().info(`By executing this command: ${ TextStyle.CODE(' ' + upgradeCommand + ' ') }`);
+        ora().start().info(`By executing this command: ${ upgradeCommand }`);
         console.log('or');
         ora().start().info(`By downloading the release from: ${ preAlpha ? Config.gitlab.cliPreAlphaReleasePage : Config.gitlab.cliReleasePage }`);
     }
-- 
GitLab