-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail if platform packages are part of app source
Sometimes, users download a slug from Heroku, and put that slug into a Git repo. As a result, the source will contain hundreds of megabytes of binaries in .heroku/php/, and platform installation will fail because Composer things nothing needs to be installed (which is correct, but the post-install hooks that set up $PATH etc will not trigger). Better UX to fail the build in this case. Also gives a human-readable error now in case the buildpack is set twice on the app for some reason. GUS-W-12004810
- Loading branch information
Showing
3 changed files
with
77 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters