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