Open
Description
Describe the bug
danger.github
is undefined.
Cannot read property 'pr' of undefined
TypeError: Cannot read property 'pr' of undefined
at dangerfile.js:5:62
To Reproduce
git clone https://github.com/edno/danger-github-undefined.git
cd danger-github-undefined
yarn install
(Yarn 2)git checkout new-branch
yarn danger local -b main
Expected behavior
This should display
message(`:tada: The PR added ${additions} and removed ${deletions} lines.`)
Environment
software | version |
---|---|
danger.js | ^10.6.2 |
node | v12.18.3 |
yarn | 2.4.0 |
Operating System | MacOS 11.2.1 |
Activity