Skip to content

Commit 54dc762

Browse files
author
Kapil Borle
committed
Remove some redundancy from Helper class
1 parent 62bd220 commit 54dc762

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Engine/Helper.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,11 +1448,11 @@ public bool GetNamedArgumentAttributeValue(NamedAttributeArgumentAst namedAttrib
14481448
return constExpVal;
14491449
}
14501450
}
1451-
else if (varExpAst.VariablePath.UserPath.Equals(
1452-
bool.TrueString,
1453-
StringComparison.OrdinalIgnoreCase))
1451+
else
14541452
{
1455-
return true;
1453+
return varExpAst.VariablePath.UserPath.Equals(
1454+
bool.TrueString,
1455+
StringComparison.OrdinalIgnoreCase);
14561456
}
14571457
}
14581458
return false;

0 commit comments

Comments
 (0)