Skip to content

Commit

Permalink
simplify default
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterloftis committed Jan 31, 2017
1 parent 5177ade commit d05cf2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit d05cf2c

Please sign in to comment.