From cac3081171b22c1f82a8253df1cafc9638be8ec0 Mon Sep 17 00:00:00 2001 From: LosslessBot Date: Thu, 26 May 2016 22:29:26 +0200 Subject: [PATCH] fix --- ts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/index.ts b/ts/index.ts index 28296da..c28d86a 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -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 + "\""); \ No newline at end of file +shelljs.exec("bash -c \"source /usr/local/nvm/nvm.sh && nvm install "+ nodeValue + " nvm alias default " + nodeValue" "\""); \ No newline at end of file