Skip to content

Commit

Permalink
Refactor due to SQ issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander van Delft committed Dec 5, 2024
1 parent 191097c commit 05dcf4a
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,14 @@ private void CalculateParameterGroupData()
var group = this.Parameter.Group;
parameterGroupPath = this.Parameter.Group.Name;

while (true)
while (group != null)
{
if (group.ContainingGroup != null)
{
parameterGroupPath = $"{group.ContainingGroup.Name} => {parameterGroupPath}";
group = group.ContainingGroup;
}
else
{
break;
}

group = group.ContainingGroup;
}
}

Expand Down

0 comments on commit 05dcf4a

Please sign in to comment.