Commit 5d1e6f72 authored by Jeremy Morrell's avatar Jeremy Morrell Committed by Jeremy Morrell

Make breaking change warning header brighter

parent 1bc7e183
...@@ -330,7 +330,7 @@ warn_no_start "$BUILD_DIR" ...@@ -330,7 +330,7 @@ warn_no_start "$BUILD_DIR"
warn_unmet_dep "$LOG_FILE" warn_unmet_dep "$LOG_FILE"
warn_old_npm_lockfile $NPM_LOCK warn_old_npm_lockfile $NPM_LOCK
warn_build_script_behavior_change "$NEW_BUILD_SCRIPT_BEHAVIOR" "$BUILD_DIR" | output "$LOG_FILE" warn_build_script_behavior_change "$NEW_BUILD_SCRIPT_BEHAVIOR" "$BUILD_DIR"
warn_build_script_behavior_opt_in "$NEW_BUILD_SCRIPT_BEHAVIOR" | output "$LOG_FILE" warn_build_script_behavior_opt_in "$NEW_BUILD_SCRIPT_BEHAVIOR" | output "$LOG_FILE"
log_build_script_opt_in "$NEW_BUILD_SCRIPT_BEHAVIOR" "$BUILD_DIR" log_build_script_opt_in "$NEW_BUILD_SCRIPT_BEHAVIOR" "$BUILD_DIR"
......
...@@ -80,7 +80,7 @@ warn_build_script_behavior_change() { ...@@ -80,7 +80,7 @@ warn_build_script_behavior_change() {
has_heroku_build_script=$(read_json "$build_dir/package.json" ".scripts[\"heroku-postbuild\"]") has_heroku_build_script=$(read_json "$build_dir/package.json" ".scripts[\"heroku-postbuild\"]")
if [[ -z "$has_heroku_build_script" ]] && [[ -n "$has_build_script" ]] && [[ "$opted_in" != "true" ]]; then if [[ -z "$has_heroku_build_script" ]] && [[ -n "$has_build_script" ]] && [[ "$opted_in" != "true" ]]; then
header "Change to Node.js build process" bright_header "Change to Node.js build process"
echo "On March 11, 2019 Heroku will begin executing the \"build\" script defined in package.json" echo "On March 11, 2019 Heroku will begin executing the \"build\" script defined in package.json"
echo "by default. This application may be affected by this change." echo "by default. This application may be affected by this change."
echo "" echo ""
......
...@@ -28,6 +28,11 @@ header() { ...@@ -28,6 +28,11 @@ header() {
echo "-----> $*" || true echo "-----> $*" || true
} }
bright_header() {
echo "" || true
echo -e "\033[1;33m-----> $* \033[0m"
}
header_skip_newline() { header_skip_newline() {
echo "-----> $*" || true echo "-----> $*" || true
} }
......
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