From e12ad473978b6c7a7d9848d8a46b2e68d3be552a Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Thu, 2 Apr 2020 11:01:44 -0400 Subject: [PATCH] Add missing dev/null for diff output --- CHANGELOG.md | 1 + bin/steps/python | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af33413..0c6b85f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ # Master - update Code Owners to include the Heroku Buildpack Maintainers team +- Clean up build log output - Add failcase for cache busting - Bugfix: Clearing pip dependencies diff --git a/bin/steps/python b/bin/steps/python index a5c1e12..f613c11 100755 --- a/bin/steps/python +++ b/bin/steps/python @@ -110,7 +110,7 @@ if [[ ! -f "$CACHE_DIR/.heroku/requirements.txt" ]]; then fi else # IF there IS a cached directory, check for differences with the new one - if ! diff "$BUILD_DIR/requirements.txt" "$CACHE_DIR/.heroku/requirements.txt"; then + if ! diff "$BUILD_DIR/requirements.txt" "$CACHE_DIR/.heroku/requirements.txt" &> /dev/null; then puts-step "Clearing cached dependencies" # if there are any differences, clear the Python cache # Installing Python over again does not take noticably more time