mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
argh, off by one error
This commit is contained in:
@@ -105,7 +105,7 @@ namespace Octokit.CodeGen
|
||||
var segments = parameter.Name.Replace("_", " ").Replace("-", " ").Split(" ");
|
||||
var pascalCaseSegments = segments.Select(s =>
|
||||
{
|
||||
if (s.Length <= 2)
|
||||
if (s.Length < 2)
|
||||
{
|
||||
return s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user