fix default version

This commit is contained in:
Philipp Kunz 2016-05-30 04:12:15 +02:00
parent e28d864d17
commit e759b731ea

View File

@ -13,7 +13,7 @@ export let install = (versionArg) => {
plugins.beautylog.log("now installing " + "node ".green + ("version " + version).yellow); plugins.beautylog.log("now installing " + "node ".green + ("version " + version).yellow);
bash( bash(
"nvm install " + version + "nvm install " + version +
" nvm alias default " + version " && nvm alias default " + version
); );
plugins.beautylog.success("Node version " + version + " successfully installed!"); plugins.beautylog.success("Node version " + version + " successfully installed!");
bash("node -v"); bash("node -v");