From b70cd1cedcc47508ab5b2e32539fe2fc756c4c47 Mon Sep 17 00:00:00 2001 From: Adam Setch <adam.setch@outlook.com> Date: Mon, 3 Jul 2023 09:14:10 -0400 Subject: [PATCH] refactor(changelog/gitlab): move source (#23104) --- lib/workers/repository/update/pr/changelog/api.ts | 2 +- .../pr/changelog/{source-gitlab.ts => gitlab/source.ts} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/workers/repository/update/pr/changelog/{source-gitlab.ts => gitlab/source.ts} (79%) diff --git a/lib/workers/repository/update/pr/changelog/api.ts b/lib/workers/repository/update/pr/changelog/api.ts index d4fa3edb6d..e319970330 100644 --- a/lib/workers/repository/update/pr/changelog/api.ts +++ b/lib/workers/repository/update/pr/changelog/api.ts @@ -1,7 +1,7 @@ import { BitbucketChangeLogSource } from './bitbucket/source'; +import { GitLabChangeLogSource } from './gitlab/source'; import type { ChangeLogSource } from './source'; import { GitHubChangeLogSource } from './source-github'; -import { GitLabChangeLogSource } from './source-gitlab'; const api = new Map<string, ChangeLogSource>(); export default api; diff --git a/lib/workers/repository/update/pr/changelog/source-gitlab.ts b/lib/workers/repository/update/pr/changelog/gitlab/source.ts similarity index 79% rename from lib/workers/repository/update/pr/changelog/source-gitlab.ts rename to lib/workers/repository/update/pr/changelog/gitlab/source.ts index 4279dc1dfd..4dc86c3b99 100644 --- a/lib/workers/repository/update/pr/changelog/source-gitlab.ts +++ b/lib/workers/repository/update/pr/changelog/gitlab/source.ts @@ -1,5 +1,5 @@ -import type { BranchUpgradeConfig } from '../../../../types'; -import { ChangeLogSource } from './source'; +import type { BranchUpgradeConfig } from '../../../../../types'; +import { ChangeLogSource } from '../source'; export class GitLabChangeLogSource extends ChangeLogSource { constructor() { -- GitLab