Commit d05cf2c3 authored by Hunter Loftis's avatar Hunter Loftis

simplify default

parent 5177adea
......@@ -35,9 +35,8 @@ install_yarn() {
}
install_nodejs() {
local user_version="$1"
local version=${1:-6.x}
local dir="$2"
local version=${user_version:-6.x}
if needs_resolution "$version"; then
echo "Resolving node version $version via semver.io..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment