Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd4b185

Browse files
committed
Fix displaying NodeJS version name
1 parent be50de2 commit dd4b185

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

commands/install_common.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ func showInstallPackages(conf *configuration.Configuration) {
3535
}
3636

3737
if conf.NodeJS.Install {
38-
terminal.Printf(" - NodeJS v%s\n", conf.NodeJS.Version)
38+
if "lts" == conf.NodeJS.Version {
39+
terminal.Println(" - NodeJS LTS")
40+
} else {
41+
terminal.Printf(" - NodeJS v%s\n", conf.NodeJS.Version)
42+
}
3943
}
4044

4145
if conf.Nginx.Install {

0 commit comments

Comments
 (0)