Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoCLI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Maintenance Gitedu aujourd'hui à 12h00 pour env. 30 minutes
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
UI
DojoCLI
Commits
d9b02288
Commit
d9b02288
authored
1 year ago
by
michael.minelli
Browse files
Options
Downloads
Patches
Plain Diff
Sonar => >Fix issues
parent
c10c7050
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#30244
passed
1 year ago
Stage: code_quality
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
NodeApp/src/commander/UpgradeCommand.ts
+3
-1
3 additions, 1 deletion
NodeApp/src/commander/UpgradeCommand.ts
with
3 additions
and
1 deletion
NodeApp/src/commander/UpgradeCommand.ts
+
3
−
1
View file @
d9b02288
...
@@ -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
}
`
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment