Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
araszka committed Dec 7, 2023
1 parent 93a42d7 commit 2d0daa5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/ManiaTemplates/Lib/MtTransformer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,17 +402,6 @@ private string ProcessComponentNode(
IReadOnlyDictionary<string, string> slotContents
)
{
// foreach (var slotContentKey in slotContents.Keys)
// {
// //Prevent filling a slot that does not exist.
// if (!component.Slots.Contains(slotContentKey))
// {
// var availableSlots = string.Join(", ", component.Slots);
// throw new InvalidSlotException(
// $"A slot with name '{slotContentKey}' couldn't be found in the component, available slots: {availableSlots}.");
// }
// }

foreach (var slotName in component.Slots)
{
var slotContent = "";
Expand Down

0 comments on commit 2d0daa5

Please sign in to comment.