Merge pull request #28070 from backstage/freben/splel

fix some little things that vale was complaining about
This commit is contained in:
Fredrik Adelöw
2024-12-10 15:57:56 +01:00
committed by GitHub
17 changed files with 32 additions and 25 deletions
File diff suppressed because one or more lines are too long
@@ -296,7 +296,7 @@ export function resolveRelations(
groupMember: Map<string, Set<string>>,
groupMemberOf: Map<string, Set<string>>,
) {
// Build reference lookup tables, we reference them by the id the the graph
// Build reference lookup tables, we reference them by the id of the graph
const groupMap: Map<string, GroupEntity> = new Map(); // by group-id or tenant-id
for (const group of groups) {
@@ -283,7 +283,7 @@ describe('DefaultProcessingDatabase', () => {
);
it.each(databases.eachSupportedId())(
'adds deferred entities to the the refresh_state table to be picked up later, %p',
'adds deferred entities to the refresh_state table to be picked up later, %p',
async databaseId => {
const { knex, db } = await createDatabase(databaseId);
await insertRefreshStateRow(knex, {
@@ -69,7 +69,7 @@ export class DefaultStarredEntitiesApi implements StarredEntitiesApi {
>();
private readonly observable = new ObservableImpl<Set<string>>(subscriber => {
// forward the the latest value
// forward the latest value
subscriber.next(new Set(this.starredEntities));
this.subscribers.add(subscriber);
@@ -67,14 +67,13 @@ export function createGithubPagesEnableAction(options: {
sourceBranch: {
title: 'Source Branch',
type: 'string',
description:
'The the GitHub Pages source branch. Default is "main"',
description: 'The GitHub Pages source branch. Default is "main"',
},
sourcePath: {
title: 'Source Path',
type: 'string',
description:
'The the GitHub Pages source path - "/" or "/docs". Default is "/"',
'The GitHub Pages source path - "/" or "/docs". Default is "/"',
},
token: {
title: 'Authorization Token',