Add missing dev/null for diff output

This commit is contained in:
Casey Faist
2020-04-02 11:01:44 -04:00
parent ea90db6d13
commit e12ad47397
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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