fix version selector

This commit is contained in:
Philipp Kunz 2016-05-30 06:05:13 +02:00
parent 18edee400c
commit 827af44f9e

View File

@ -5,7 +5,7 @@ import {bash} from "./npmci.bash";
export let install = (versionArg) => { export let install = (versionArg) => {
let done = plugins.q.defer(); let done = plugins.q.defer();
let version:string; let version:string;
if(versionArg = "lts"){ if(versionArg == "lts"){
version = "4"; version = "4";
} else { } else {
version = versionArg; version = versionArg;