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

commonAddedLinesContains doesn't work for Bitbucket pipelines #433

Open
fobdy opened this issue Dec 28, 2020 · 0 comments
Open

commonAddedLinesContains doesn't work for Bitbucket pipelines #433

fobdy opened this issue Dec 28, 2020 · 0 comments

Comments

@fobdy
Copy link

fobdy commented Dec 28, 2020

It's failing on helpers.js:

Cannot read property 'pr' of undefined
TypeError: Cannot read property 'pr' of undefined
    at Object.<anonymous> (./.../node_modules/danger-plugin-toolbox/dist/rules/helpers.js:12:5)

It seems only github is supported there:

// helpers.js
// ...
const {
  git: {
    // ...
  },
  github: {
    pr: {  // <— this lines fails
      title: prTitle,
      // ...
  },
  utils: { href }
} = danger;
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

1 participant