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

TypeError: danger.git.modified_files.includes is not a function #95

Closed
dblock opened this issue Jan 11, 2017 · 4 comments
Closed

TypeError: danger.git.modified_files.includes is not a function #95

dblock opened this issue Jan 11, 2017 · 4 comments

Comments

@dblock
Copy link

dblock commented Jan 11, 2017

Danger 0.8.0. What am I missing?

https://travis-ci.org/matt-kruse/alexa-app-server/builds/190989229

@orta
Copy link
Member

orta commented Jan 11, 2017

I can't see the build but includes was added in node 5/6 I think, so 4 and below fail?

@dblock
Copy link
Author

dblock commented Jan 11, 2017

This was with 5.11, correct link https://travis-ci.org/alexa-js/alexa-app-server/builds/190989229, sorry about that.

@kwonoj
Copy link
Member

kwonoj commented Jan 12, 2017

If you're using array.includes and node is 5.11, it's hidden behind harmony flag. http://node.green/#Array-prototype-includes

@macklinu
Copy link
Member

I'm going to mark this as resolved, thanks for that info @kwonoj.

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

No branches or pull requests

4 participants