Commit 982a1371 authored by Hunter Loftis's avatar Hunter Loftis

announcement about new version

parent 70e997a9
......@@ -24,6 +24,10 @@ unset GIT_DIR
# Provide hook to deal with errors
build_failed() {
head "Build failed"
info "This is a new Node.js buildpack. To revert to the previous version:"
info "heroku config:set BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-nodejs#v63"
info "We want you to be able to use the latest buildpack. Please submit a ticket if you can't:"
info "https://help.heroku.com/"
echo ""
cat $warnings | indent
}
......
......@@ -54,6 +54,13 @@ testOldNpm() {
assertCapturedSuccess
}
testFailingBuild() {
compile "failing-build"
assertCaptured "Build failed"
assertCaptured "This is a new Node.js buildpack"
assertCapturedError 1 ""
}
testInfoEmpty() {
compile "info-empty"
assertCaptured "Node engine: unspecified"
......
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