Reduce cases in Node installer
This commit is contained in:
parent
8369decbfc
commit
028b96589e
|
@ -227,14 +227,10 @@ function init() {
|
||||||
|
|
||||||
switch(alc) {
|
switch(alc) {
|
||||||
case "y":
|
case "y":
|
||||||
install();
|
|
||||||
break;
|
|
||||||
case "yes":
|
case "yes":
|
||||||
install();
|
install();
|
||||||
break;
|
break;
|
||||||
case "n":
|
case "n":
|
||||||
process.exit();
|
|
||||||
break;
|
|
||||||
case "no":
|
case "no":
|
||||||
process.exit();
|
process.exit();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue