chore(integration): use consistent naming of [gG]ithub in code
Relates to the discussion at PR #14039. Relates-to: PR #14039 Relates-to: PR #14174 Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user