Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imporoved Heroku Detection #927

Merged
merged 2 commits into from
Oct 18, 2024
Merged

Conversation

jagthedrummer
Copy link
Contributor

Heroku recently made some changes to how they set the PATH ENV var and now it no longer includes /app/.heroku/ so our previous detection method is broken.

Now we'll look for ENV['HEROKU_APP_NAME'].

Heroku recently made some changes to how they set the `PATH` ENV var and
now it no longer includes `/app/.heroku/` so our previous detection
method is broken.

Now we'll look for `ENV['HEROKU_APP_NAME']`.
Copy link

@zackgilbert zackgilbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this works. If they end up changing this (stop using this env variable), you can always add it yourself to your own ENV variables and be back to fine.

@jagthedrummer jagthedrummer merged commit 7e0addd into main Oct 18, 2024
28 checks passed
@jagthedrummer jagthedrummer deleted the jeremy/better-heroku-detection branch October 18, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants