code review cleanups.

This commit is contained in:
pltaylor
2013-11-13 19:53:52 -05:00
parent 04349e6172
commit cf31e1da02
3 changed files with 2 additions and 2 deletions
+1
View File
@@ -75,6 +75,7 @@ namespace Octokit.Internal
if (ReflectionUtils.GetTypeInfo(type).IsEnum)
{
// remove '-' from values coming in to be able to enum utf-8
stringValue = stringValue.Replace("-", "");
return Enum.Parse(type, stringValue, ignoreCase: true);
}