Skip to content

Commit

Permalink
Rename echo_stderr to display_error
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley committed Oct 27, 2023
1 parent ca9431a commit f4c6236
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions builder-classic-22/end-of-life-buildpack/bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

function echo_stderr() {
function display_error() {
local ansi_red="\033[1;31m"
local ansi_reset="\033[0m"
echo -e "\n${ansi_red}${1}${ansi_reset}\n" >&2
Expand Down Expand Up @@ -32,5 +32,5 @@ documentation for how to adjust the builder image used for your build.
#######################################################################
EOF

echo_stderr "${EOL_MESSAGE}"
display_error "${EOL_MESSAGE}"
exit 0
4 changes: 2 additions & 2 deletions buildpacks-20/end-of-life-buildpack/bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

function echo_stderr() {
function display_error() {
local ansi_red="\033[1;31m"
local ansi_reset="\033[0m"
echo -e "\n${ansi_red}${1}${ansi_reset}\n" >&2
Expand Down Expand Up @@ -32,5 +32,5 @@ documentation for how to adjust the builder image used for your build.
#######################################################################
EOF

echo_stderr "${EOL_MESSAGE}"
display_error "${EOL_MESSAGE}"
exit 0

0 comments on commit f4c6236

Please sign in to comment.