Skip to content

Commit 88e48e4

Browse files
authored
Merge pull request #245 from adamwestland/feature/migration-resume-and-fixes
feat: Enable migration resume capability and add safety improvements
2 parents fefdbbe + b642a47 commit 88e48e4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/githubHelper.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ export class GithubHelper {
181181
owner: this.githubOwner,
182182
repo: this.githubRepo,
183183
state: 'all',
184-
labels: 'gitlab merge request',
184+
// Remove label filter to get ALL issues for proper duplicate detection
185+
// labels: 'gitlab merge request',
185186
per_page: perPage,
186187
page: page,
187188
});
@@ -496,7 +497,7 @@ export class GithubHelper {
496497
closed: issue.state === 'closed',
497498
};
498499

499-
if (issue.state === 'closed') {
500+
if (issue.state === 'closed' && issue.closed_at) {
500501
props.closed_at = issue.closed_at;
501502
}
502503

src/settings.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ export default interface Settings {
3434
logFile: string;
3535
log: boolean;
3636
};
37+
commitMap?: {
38+
[key: string]: string;
39+
};
3740
s3?: S3Settings;
3841
commitMap: {
3942
[key: string]: string;

0 commit comments

Comments
 (0)