Skip to content

Commit

Permalink
Apply buildifier
Browse files Browse the repository at this point in the history
  • Loading branch information
aaliddell authored Sep 7, 2023
1 parent c17fe86 commit 79d04fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/common.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,15 @@ def snake_case(s):
for char in s.elems():
if char.isupper():
if is_last_lower_case:
converted+="_"+char
converted += "_"+char
is_last_lower_case = False
continue
elif char.islower() or char.isdigit():
is_last_lower_case = True
converted+=char
converted += char
continue
is_last_lower_case = False
converted+=char
converted += char
return converted.lower()

def dasherize(s):
Expand Down

0 comments on commit 79d04fa

Please sign in to comment.