Skip to content

Commit

Permalink
use the new semver.io/node/resolve/{range} URL syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke committed Nov 13, 2013
1 parent f2ade2b commit 347a77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ trap cat_npm_debug_log ERR
semver_range=$(cat $build_dir/package.json | $bp_dir/vendor/jq -r .engines.node)

# Resolve node version using semver.io
semver_url=http://semver.io/node/$semver_range
semver_url=http://semver.io/node/resolve/$semver_range
node_version=$(curl --silent $semver_url)

# Recommend using semver ranges in a safe manner
Expand Down

0 comments on commit 347a77b

Please sign in to comment.