Skip to content
Snippets Groups Projects
Commit d9b02288 authored by michael.minelli's avatar michael.minelli
Browse files

Sonar => >Fix issues

parent c10c7050
Branches
Tags
No related merge requests found
Pipeline #30244 passed
...@@ -17,8 +17,10 @@ class UpgradeCommand extends CommanderCommand { ...@@ -17,8 +17,10 @@ class UpgradeCommand extends CommanderCommand {
} }
private displayInstructions(upgradeCommand: string, preAlpha: boolean) { private displayInstructions(upgradeCommand: string, preAlpha: boolean) {
upgradeCommand = TextStyle.CODE(` ${ upgradeCommand } `);
console.log(TextStyle.BLOCK(`You can upgrade DojoCLI on ${ os.platform() === 'darwin' ? 'macOS' : 'Linux' }:`)); 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'); console.log('or');
ora().start().info(`By downloading the release from: ${ preAlpha ? Config.gitlab.cliPreAlphaReleasePage : Config.gitlab.cliReleasePage }`); ora().start().info(`By downloading the release from: ${ preAlpha ? Config.gitlab.cliPreAlphaReleasePage : Config.gitlab.cliReleasePage }`);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment