How to access github object inside pluging
diogot opened this issue · comments
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!