Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Remove unused releases field from UpdateResult #22936

Merged
merged 1 commit into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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