-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add Heroku support #34
Conversation
@watson friendly ping 🙂 |
is there any documentation available for this. @jgierer12 .? |
@@ -12,6 +12,10 @@ Object.defineProperty(exports, '_vendors', { | |||
exports.name = null | |||
exports.isPR = null | |||
|
|||
function includes (str, search) { | |||
return !!~str.indexOf(search) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this less clever and more explicit.
- return !!~str.indexOf(search)
+ return str.indexOf(search) > -1;
{ | ||
"name": "Heroku", | ||
"constant": "HEROKU", | ||
"env": { "env": "NODE", "includes": "heroku" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the test, you check for this value: /app/.heroku/node/bin/node
. Is that a constant? Could you check for that value explicitly instead of any value with heroku
in it?
@sibiraj-s After more than a year without any update, for Heroku support, is it okay for me to create another PR to supersede this? |
Thanks @shian15810 PR's always welcome. And it is good to have the approach taken is somewhere documented by Heroku. So it won't break randomly. |
Sorry for the long hold. But Closing this in favour of #95. |
Based off of the work started in #34
No description provided.