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

BitbucketServerCommit does not have 'title' property #1490

Open
beng-sjc opened this issue May 17, 2024 · 0 comments
Open

BitbucketServerCommit does not have 'title' property #1490

beng-sjc opened this issue May 17, 2024 · 0 comments

Comments

@beng-sjc
Copy link

Report

What did you do?

I am porting a danger file from Gitlab to Bitbucket and was trying to parse commits by title

What did you expect to happen?

I expected danger to be able to parse commits from bitbucket by title

What happened instead?

I get the following property error:

Property 'title' does not exist on type 'BitBucketServerCommit'.

Your Environment

Using bamboo CI for Bitbucket, running version 11.2.6

  const notableCommits = danger.bitbucket_server.commits.filter(
    (commit: BitBucketServerCommit) => tags.some(tag => commit.title.startsWith(`${tag}: `))
  );
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