Compare commits

...

2 Commits

Author SHA1 Message Date
LosslessBot
423f3349b9 1.0.3 2016-05-26 22:29:29 +02:00
LosslessBot
cac3081171 fix 2016-05-26 22:29:26 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "npmci",
"version": "1.0.2",
"version": "1.0.3",
"description": "",
"main": "dist/index.js",
"bin": {

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" "\"");