mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 15:00:19 +00:00
Merge pull request #944 from heroku/buildlog/fix-cache-output
Remove confusing diff output for cache check
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user