mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 11:36:05 +00:00
fmt
This commit is contained in:
@@ -510,9 +510,7 @@ provideInstallationSettings({
|
||||
const hasPlaceholder = manifest.some((x) => x.id === '${modrinth.gameVersion}')
|
||||
if (!hasPlaceholder) {
|
||||
const supportedVersions = new Set(
|
||||
manifest
|
||||
.filter((x) => x.loaders.length > 0 || !!x.versionGroup)
|
||||
.map((x) => x.id),
|
||||
manifest.filter((x) => x.loaders.length > 0 || !!x.versionGroup).map((x) => x.id),
|
||||
)
|
||||
return versions
|
||||
.filter((v) => supportedVersions.has(v.version))
|
||||
|
||||
Reference in New Issue
Block a user