Commit 3c1c2857 authored by David Dollar's avatar David Dollar

don't rely on cwd for running the buildpack

parent 65283052
......@@ -45,7 +45,7 @@ function resolve_versions() {
args=""
for version in $1; do args="${args} -v \"${version}\""; done
for version in $2; do args="${args} -r \"${version}\""; done
eval vendor/node-semver/bin/semver ${args} | tail -r | head -n1
eval $LP_DIR/vendor/node-semver/bin/semver ${args} | tail -r | head -n1
}
# config
......
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