Sign in
cobalt
/
third_party
/
nvm
/
refs/heads/install_use_nvmrc
/
.
/
nvm-exec
blob: dc6bfca90976f9009e00b0915a4779add64a1559 [
file
] [
log
] [
blame
] [
edit
]
#!/bin/bash
DIR
=
"$(command cd "
$
(
dirname
"${BASH_SOURCE[0]}"
)
" && pwd )"
source
"$DIR/nvm.sh"
if
[
!
"$NODE_VERSION"
];
then
echo
'NODE_VERSION not set'
exit
1
fi
nvm use $NODE_VERSION
exec $@