piceaTech / node-gitlab-2-github

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

If settings.debug is true, no issues are transferred #133

Closed markuslf closed 2 years ago

markuslf commented 2 years ago

Problem is located in githubHelper.ts, function importIssueAndComments(), line 451:

if (settings.debug) return Promise.resolve({ data: issue });

If settings.debug is true, issue importing simply states ...DONE migrating issue #4711, and actually does nothing at all.

spruce commented 2 years ago

Works as intended: https://github.com/piceaTech/node-gitlab-2-github#debug