Skip to content

Commit

Permalink
Fix sproc/function naming bug (#2676)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ authored Nov 28, 2024
1 parent 57e7efc commit 8c94a52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/RevEng.Core.80/Routines/ScaffoldHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ public static string GenerateIdentifierName(Routine routine, RoutineModel model,

ArgumentNullException.ThrowIfNull(model);

if (usePascalCase)
if (!usePascalCase)
{
var name = GenerateUniqueName(routine, model);

return CreateIdentifier(name, name, true).Item1;
return CreateIdentifier(name, name, false).Item1;
}
else
{
Expand Down

0 comments on commit 8c94a52

Please sign in to comment.