Commit 7c547178 authored by Hunter Loftis's avatar Hunter Loftis

rephrasing

parent b475a12b
......@@ -14,6 +14,12 @@ elif [ ${node_engine:0:1} == ">" ]; then
warning "Avoid semver ranges starting with '>' in engines.node" "https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version"
fi
if [ "$npm_engine" != "" ]; then
if [ "${npm_engine:0:1}" -lt "2" ]; then
warning "This version of npm has several known issues - consider upgrading to the latest release"
fi
fi
if [ "$modules_source" == "prebuilt" ]; then
warning "Avoid checking node_modules into source control" "https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-"
elif [ "$modules_source" == "" ]; then
......@@ -23,9 +29,3 @@ fi
if [ "$start_method" == "" ]; then
warning "No Procfile, package.json start script, or server.js file found" "https://devcenter.heroku.com/articles/nodejs-support#runtime-behavior"
fi
if [ "$npm_engine" != "" ]; then
if [ "${npm_engine:0:1}" -lt "2" ]; then
warning "This version of npm has several known issues - consider upgrading to the latest release"
fi
fi
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