Skip to content

Commit

Permalink
Fix missing digit in IsSquareBraketsRequired (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertospelta authored Mar 5, 2024
1 parent ce325ac commit fa4521a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dax.Vpax.Obfuscator/Extensions/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static bool IsSquareBraketsRequired(string table, string column)
{
if (table.Length > 0)
{
if ("012345679".Contains(table[0]))
if ("0123456789".Contains(table[0]))
return true; // Table name start with a digit

if (table.Any((c) => c != '_' && !DaxTextObfuscator.CharSet.Contains(c)))
Expand Down

0 comments on commit fa4521a

Please sign in to comment.