Skip to content
This repository was archived by the owner on Jan 28, 2023. It is now read-only.

Commit 8ef4d0b

Browse files
committed
Fix NotSupportedException at "Supports" key
1 parent 0c2323f commit 8ef4d0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

UserInterface/Port.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static Port ParseControlFile(string filepath)
7474
case "Description": port.CoreParagraph.Description = item.Value; break;
7575
case "Maintainer": port.CoreParagraph.Maintainer = item.Value; break;
7676
case "Default-Features": port.CoreParagraph.DefaultFeatures = CommaSplit(item.Value); break;
77-
case "Supports": throw new NotSupportedException();
77+
case "Supports": port.CoreParagraph.Supports = CommaSplit(item.Value); break;
7878
}
7979
}
8080
else if (paragraph.Keys.Contains(FeatureToken))

0 commit comments

Comments
 (0)