diff --git a/NodeApp/src/commander/UpgradeCommand.ts b/NodeApp/src/commander/UpgradeCommand.ts index b0ba3dddee68e41a8dcb57130b7da7aa286adad8..432fa315aafa5f1cada800746f645f9eeef1cbba 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 }`); }