This commit is contained in:
LosslessBot 2016-05-26 22:29:26 +02:00
parent f269e72af9
commit cac3081171

View File

@ -22,4 +22,4 @@ if (typeof cmdValue === 'undefined') {
}
console.log('command:', cmdValue);
console.log('node Version:', nodeValue);
shelljs.exec("bash -x \"source /usr/local/nvm/.nvm.sh && nvm install "+ nodeValue + "\"");
shelljs.exec("bash -c \"source /usr/local/nvm/nvm.sh && nvm install "+ nodeValue + " nvm alias default " + nodeValue" "\"");