Skip to content

Commit 0c6353f

Browse files
author
Matthew Fisher
committed
fix(builder): silence errors from initial clone
If we supply a commit, we are expecting this command to error out. If there's a problem, it'll be captured in the second clone.
1 parent 26dab04 commit 0c6353f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • builder/image/slugbuilder/builder

builder/image/slugbuilder/builder/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ if [[ -n "$BUILDPACK_URL" ]]; then
9191
fi
9292

9393
set +e
94-
git clone --quiet --branch "$committish" --depth=1 "$url" "$buildpack"
94+
git clone --branch "$committish" --depth=1 "$url" "$buildpack" &> /dev/null
9595
SHALLOW_CLONED=$?
9696
set -e
9797
if [ $SHALLOW_CLONED -ne 0 ]; then

0 commit comments

Comments
 (0)