Merge pull request #944 from heroku/buildlog/fix-cache-output

Remove confusing diff output for cache check
This commit is contained in:
Casey
2020-04-02 12:08:49 -04:00
committed by GitHub
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