Merge pull request #14192 from Bonial-International-GmbH/pjungermann/github/naming-part2

chore(integration): use consistent naming of `[gG]ithub` in code
This commit is contained in:
Johan Haals
2022-10-20 09:41:56 +02:00
committed by GitHub
36 changed files with 283 additions and 159 deletions
@@ -15,7 +15,7 @@
*/
import { Octokit } from '@octokit/rest';
import { GitHubIntegration, ScmIntegrations } from '@backstage/integration';
import { GithubIntegration, ScmIntegrations } from '@backstage/integration';
import { DISABLE_CACHE } from '../constants/constants';
import { Project } from '../contexts/ProjectContext';
@@ -50,7 +50,7 @@ export class GitReleaseClient implements GitReleaseApi {
private getGithubIntegrationConfig({
gitHubIntegrations,
}: {
gitHubIntegrations: GitHubIntegration[];
gitHubIntegrations: GithubIntegration[];
}) {
const defaultIntegration = gitHubIntegrations.find(
({ config: { host } }) => host === 'github.com',