refactor(changelog/github): move source (#23103)

This commit is contained in:
Adam Setch 2023-07-03 10:54:59 -04:00 committed by GitHub
parent 0551a12f60
commit bd3cf102bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
import { BitbucketChangeLogSource } from './bitbucket/source';
import { GitHubChangeLogSource } from './github/source';
import { GitLabChangeLogSource } from './gitlab/source';
import type { ChangeLogSource } from './source';
import { GitHubChangeLogSource } from './source-github';
const api = new Map<string, ChangeLogSource>();
export default api;

View file

@ -1,10 +1,10 @@
import URL from 'node:url';
import { GlobalConfig } from '../../../../../config/global';
import { logger } from '../../../../../logger';
import * as hostRules from '../../../../../util/host-rules';
import type { BranchUpgradeConfig } from '../../../../types';
import { ChangeLogSource } from './source';
import type { ChangeLogError } from './types';
import { GlobalConfig } from '../../../../../../config/global';
import { logger } from '../../../../../../logger';
import * as hostRules from '../../../../../../util/host-rules';
import type { BranchUpgradeConfig } from '../../../../../types';
import { ChangeLogSource } from '../source';
import type { ChangeLogError } from '../types';
export class GitHubChangeLogSource extends ChangeLogSource {
constructor() {
super('github', 'github-tags');