Skip to content

Commit

Permalink
refactor: Remove unused releases field from UpdateResult (#22936)
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov authored Jun 22, 2023
1 parent dd1e9b6 commit 7b84e93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/workers/repository/process/lookup/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function lookupUpdates(
const res: UpdateResult = {
updates: [],
warnings: [],
} as any;
};
try {
logger.trace({ dependency: packageName, currentValue }, 'lookupUpdates');
// Use the datasource's default versioning if none is configured
Expand Down
2 changes: 0 additions & 2 deletions lib/workers/repository/process/lookup/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type {
RenovateConfig,
ValidationMessage,
} from '../../../../config/types';
import type { Release } from '../../../../modules/datasource/types';
import type {
LookupUpdate,
RangeConfig,
Expand Down Expand Up @@ -61,7 +60,6 @@ export interface UpdateResult {
isSingleVersion?: boolean;
skipReason?: SkipReason;
registryUrl?: string;
releases: Release[];
fixedVersion?: string;
updates: LookupUpdate[];
warnings: ValidationMessage[];
Expand Down

0 comments on commit 7b84e93

Please sign in to comment.