fix stable version

This commit is contained in:
Philipp Kunz 2016-06-29 23:55:38 +02:00
parent 5c28561c1f
commit f4c7c0b239
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ exports.install = function (versionArg) {
plugins.beautylog.log("now installing " + "node ".green + ("version " + versionArg).yellow); plugins.beautylog.log("now installing " + "node ".green + ("version " + versionArg).yellow);
var version; var version;
if (versionArg == "stable") { if (versionArg == "stable") {
version = "6.6.2"; version = "6.2.2";
} }
else if (versionArg == "lts") { else if (versionArg == "lts") {
version = "4.4.7"; version = "4.4.7";
@ -28,4 +28,4 @@ exports.install = function (versionArg) {
return done.promise; return done.promise;
}; };
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5wbWNpLmluc3RhbGwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLFFBQU8sZ0JBQWdCLENBQUMsQ0FBQTtBQUN4QixJQUFZLE9BQU8sV0FBTSxpQkFBaUIsQ0FBQyxDQUFBO0FBQzNDLDJCQUFtQixjQUFjLENBQUMsQ0FBQTtBQUV2QixlQUFPLEdBQUcsVUFBQyxVQUFVO0lBQzVCLElBQUksSUFBSSxHQUFHLE9BQU8sQ0FBQyxDQUFDLENBQUMsS0FBSyxFQUFFLENBQUM7SUFDN0IsT0FBTyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsaUJBQWlCLEdBQUcsT0FBTyxDQUFDLEtBQUssR0FBRyxDQUFDLFVBQVUsR0FBRyxVQUFVLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUM1RixJQUFJLE9BQWMsQ0FBQztJQUNuQixFQUFFLENBQUEsQ0FBQyxVQUFVLElBQUksUUFBUSxDQUFDLENBQUEsQ0FBQztRQUN2QixPQUFPLEdBQUcsT0FBTyxDQUFDO0lBQ3RCLENBQUM7SUFBQyxJQUFJLENBQUMsRUFBRSxDQUFBLENBQUMsVUFBVSxJQUFJLEtBQU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Nlc3MoXCJOb2RlIHZlcnNpb24gXCIgKyB2ZXJzaW9uICsgXCIgc3VjY2Vzc2Z1bGx5IGluc3RhbGxlZCFcIik7XG4gICAgYmFzaChcIm5vZGUgLXZcIik7XG4gICAgYmFzaChcIm5wbSAtdlwiKTtcbiAgICBkb25lLnJlc29sdmUoKTtcbiAgICByZXR1cm4gZG9uZS5wcm9taXNlO1xufSJdfQ==

View File

@ -7,7 +7,7 @@ export let install = (versionArg) => {
plugins.beautylog.log("now installing " + "node ".green + ("version " + versionArg).yellow); plugins.beautylog.log("now installing " + "node ".green + ("version " + versionArg).yellow);
let version:string; let version:string;
if(versionArg == "stable"){ if(versionArg == "stable"){
version = "6.6.2"; version = "6.2.2";
} else if(versionArg == "lts"){ } else if(versionArg == "lts"){
version = "4.4.7"; version = "4.4.7";
} else if(versionArg == "legacy"){ } else if(versionArg == "legacy"){