piceaTech / node-gitlab-2-github

Migrate Issues, milestones etc from gitlab to github
MIT License
555 stars 136 forks source link

Enable note migration by resolving correct response #141

Closed codemonium closed 1 year ago

codemonium commented 2 years ago

Prior to this change, we would ignore the

await this.githubApi.pulls.create(props);

return value, which is the actual Pull Request data. As a result, none of the logic beyond creating the Pull Request could run: https://github.com/piceaTech/node-gitlab-2-github/blob/master/src/githubHelper.ts#L792

It looks like https://github.com/piceaTech/node-gitlab-2-github/commit/d65ac3f72f02ed5b670e847e278d4c736a7f5f1a caused this issue, but I'm not sure if my solution causes a regression.