Skip to content

Commit e2afb3b

Browse files
refactor: use correct type (renovatebot#37125)
1 parent 065dda5 commit e2afb3b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/workers/repository/process/lookup/filter-checks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { getUpdateType } from './update-type';
1919
export interface InternalChecksResult {
2020
release?: Release;
2121
pendingChecks: boolean;
22-
pendingReleases?: Release[];
22+
pendingReleases: Release[];
2323
}
2424

2525
export async function filterInternalChecks(

lib/workers/repository/process/lookup/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,8 @@ export async function lookupUpdates(
522522
update.pendingChecks = pendingChecks;
523523
}
524524

525-
// TODO #22198
526-
if (pendingReleases!.length) {
527-
update.pendingVersions = pendingReleases!.map((r) => r.version);
525+
if (pendingReleases.length) {
526+
update.pendingVersions = pendingReleases.map((r) => r.version);
528527
}
529528
if (!update.newValue || update.newValue === compareValue) {
530529
if (!config.lockedVersion) {

0 commit comments

Comments
 (0)