Skip to content
Merged
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
4 changes: 2 additions & 2 deletions src/parsers/VersionParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ export class VersionParser {
/**
* Finds the maximum version from an array of version strings
* @param versions Array of version strings
* @returns The maximum version, or "4.3.0" as fallback if no versions found
* @returns The maximum version, or MINIMUM_VERSION as fallback if no versions found
*/
static findMaxVersion(versions: string[]): string {
if (!versions || versions.length === 0) {
return '4.3.0'; // Fallback to current hardcoded version
return MINIMUM_VERSION; // Fallback to minimum version from config
}

return versions.reduce((max, current) =>
Expand Down
Loading