Skip to content

Commit d5d713b

Browse files
committed
chore: update HIGHLIGHT_LANGS
1 parent 7a7c9d0 commit d5d713b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/analyze-code.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
env:
1515
# Check official cloc documentation for supported languages and their exact names
1616
# Languages to show individually in README (others will be grouped under "Others")
17-
HIGHLIGHT_LANGS: "C,JavaScript,Java,Python"
17+
HIGHLIGHT_LANGS: "JavaScript,TypeScript,JSX,Vuejs Component,PHP,C#"
1818

1919
# Languages to ignore completely (not shown and not counted in totals)
2020
IGNORE_LANGS: "JSON,HTML,CSS,SCSS,Sass,Markdown,SVG,YAML,TOML,CSV,Text,Properties"
@@ -91,7 +91,7 @@ jobs:
9191
9292
if [[ "$HL" == *",$LANG,"* ]]; then
9393
FORMATTED=$(format_number "$LINES")
94-
FORMATTED_BREAKDOWN+=$(printf "%-15s --> %10s lines\n" "$LANG" "$FORMATTED")$'\n'
94+
FORMATTED_BREAKDOWN+=$(printf "%s --> %s lines\n" "$LANG" "$FORMATTED")$'\n'
9595
else
9696
OTHER_LINES=$((OTHER_LINES + LINES))
9797
fi
@@ -106,7 +106,7 @@ jobs:
106106
# Add Others (formatted)
107107
if [[ $OTHER_LINES -gt 0 ]]; then
108108
FORMATTED_OTHER=$(format_number "$OTHER_LINES")
109-
FORMATTED_BREAKDOWN+=$(printf "%-15s --> %10s lines\n" "Others" "$FORMATTED_OTHER")$'\n'
109+
FORMATTED_BREAKDOWN+=$(printf "%s --> %s lines\n" "Others" "$FORMATTED_OTHER")$'\n'
110110
fi
111111
112112
# Format total ONCE (do not overwrite later)

0 commit comments

Comments
 (0)