Closed diogot closed 8 years ago
That's how you access it, could it be running against an older version of Danger ( e.g. before we updated to supporting github.thing
? )
For example in danger-prose we use github.branch_for_head
Just figured out, it was my bad! I was running tests and didn't mocked anything, just learning ruby, hehe.
Thanks!
I'm not a ruby expert so this might be obvious, but I'm doing a plugin based on this template and I got some issues in accessing
github
object, I needhead_commit
, I tried this:But didn't failed, what is the right way to do it?