Added missing branch for CONFLICTING dependencies

This commit is contained in:
Kir_Antipov 2024-01-04 09:25:29 +00:00
parent ee9458a1c4
commit baebb4e594

View file

@ -78,12 +78,12 @@ function fromDependencyType(type: DependencyType): ModrinthDependencyType | unde
switch (type) {
case DependencyType.REQUIRED:
return ModrinthDependencyType.REQUIRED;
case DependencyType.OPTIONAL:
case DependencyType.RECOMMENDED:
return ModrinthDependencyType.OPTIONAL;
case DependencyType.EMBEDDED:
return ModrinthDependencyType.EMBEDDED;
case DependencyType.OPTIONAL:
return ModrinthDependencyType.OPTIONAL;
case DependencyType.CONFLICTING:
case DependencyType.INCOMPATIBLE:
return ModrinthDependencyType.INCOMPATIBLE;
default: